blob: 28e9b4d84ea940ad766d4e67d2de4f495dbe4d83 (
plain)
1
2
3
4
5
6
7
8
|
T13381.hs:21:23: error: [GHC-83865]
• Couldn't match type ‘Exp Int’ with ‘Int’
Expected: Int -> Iter Int (Exp Char)
Actual: Int -> Iter (Exp Int) (Exp Char)
• In the first argument of ‘iterLoop’, namely ‘f’
In the first argument of ‘fromExp’, namely ‘(iterLoop f init)’
In the expression: fromExp (iterLoop f init)
|