Skip to content

Commit

Permalink
Update src/Chapter3.hs
Browse files Browse the repository at this point in the history
Co-authored-by: Dmitrii Kovanikov <[email protected]>
  • Loading branch information
wookenny and chshersh authored Oct 13, 2020
1 parent 050b845 commit 739e3f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Chapter3.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1029,7 +1029,7 @@ instance Append Gold where

instance Append [a] where
append :: [a] -> [a] -> [a]
append l1 l2 = l1 ++ l2
append = (++)

instance (Append a) => Append (Maybe a) where
append :: Maybe a -> Maybe a -> Maybe a
Expand Down

0 comments on commit 739e3f7

Please sign in to comment.