2020-05-19 20:25:18 +03:00
|
|
|
1/1: Building IfErr (IfErr.idr)
|
2020-07-28 15:11:42 +03:00
|
|
|
Error: While processing right hand side of foo. Can't find an implementation for Eq a.
|
|
|
|
|
|
|
|
IfErr.idr:4:11--4:17
|
2021-02-11 20:24:26 +03:00
|
|
|
1 | data Wibble = Wobble
|
|
|
|
2 |
|
|
|
|
3 | foo : a -> a -> Bool
|
2020-07-22 22:16:43 +03:00
|
|
|
4 | foo x y = x == y
|
2021-02-11 20:24:26 +03:00
|
|
|
^^^^^^
|
2020-07-28 15:11:42 +03:00
|
|
|
|
|
|
|
Error: While processing right hand side of bar. Can't find an implementation for Eq Wibble.
|
|
|
|
|
|
|
|
IfErr.idr:7:11--7:17
|
2021-02-11 20:24:26 +03:00
|
|
|
3 | foo : a -> a -> Bool
|
|
|
|
4 | foo x y = x == y
|
|
|
|
5 |
|
|
|
|
6 | bar : Wibble -> Wibble -> Bool
|
2020-07-22 22:16:43 +03:00
|
|
|
7 | bar x y = x == y
|
2021-02-11 20:24:26 +03:00
|
|
|
^^^^^^
|
2020-07-28 15:11:42 +03:00
|
|
|
|