blob: c04cfa231508a27c4e968f7e86691f62ba266a3e (
plain)
1
2
3
4
5
6
7
8
9
|
PatBind3.hs:6:12: error:
• Couldn't match type ‘(Bool, w)’ with ‘Char’
Expected type: Maybe ((Bool, w) -> Char)
Actual type: 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)
|