Skip to content
GitLab
Explore
Sign in
Register
Changes
Page history
solve [GHC]
#14560
authored
Dec 06, 2017
by
pjljvdlaar
Hide whitespace changes
Inline
Side-by-side
pattern-synonyms.md
View page @
4c9f4593
...
...
@@ -331,7 +331,7 @@ Example:
```
wiki
class ListLike l where
pattern Nil :: l a
pattern Cons :: a -> l a -> a
pattern Cons :: a -> l a ->
l
a
isNil :: l a -> Bool
isNil Nil = True
isNil (Cons _ _) = False
...
...