blob: 3ff4cb36788cb360a344c6be7f1bfefbfc4540ad (
plain)
1
2
3
4
5
6
7
8
9
|
overloadedlistsfail03.hs:3:28: error:
• Couldn't match type ‘[Char]’ with ‘Char’
Expected: GHC.Exts.Item [Char]
Actual: String
• In the expression: "b"
In the first argument of ‘length’, namely ‘(['a', "b"] :: [Char])’
In the first argument of ‘print’, namely
‘(length (['a', "b"] :: [Char]))’
|