blob: e4c368c6e19567434d4152a4c15dabe0b0f491b9 (
plain)
1
2
3
4
5
6
7
8
9
|
PatBind3.hs:6:12: error:
• Couldn't match type ‘(Bool, w)’ with ‘Char’
Expected: Maybe ((Bool, w) -> Char)
Actual: Maybe ((Bool, w) -> (Bool, w))
• In the expression: Just id
In a pattern binding: Just foo = Just id
• Relevant bindings include
foo :: (Bool, w) -> Char (bound at PatBind3.hs:6:6)
|