Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class MatchSame a out where Source
picks Match
instance where Pattern
and Body
are of the same type
specify either Pattern
or Body
+ out
types
handy when working with OverloadedStrings
>>>
("^all"::String) -~ "all the time"::[String]
["all"]
Nothing