2020-05-19 20:25:18 +03:00
|
|
|
1/1: Building lazybug (lazybug.idr)
|
2020-07-28 15:11:42 +03:00
|
|
|
Error: While processing right hand side of main. Can't solve constraint between: Bool and Lazy Bool.
|
|
|
|
|
2021-06-05 14:53:22 +03:00
|
|
|
lazybug:5:22--5:34
|
2021-02-11 20:24:26 +03:00
|
|
|
1 | bools : List Bool
|
|
|
|
2 | bools = [True, False]
|
|
|
|
3 |
|
|
|
|
4 | main : IO ()
|
2020-07-22 22:16:43 +03:00
|
|
|
5 | main = printLn $ or (map id bools)
|
2021-02-11 20:24:26 +03:00
|
|
|
^^^^^^^^^^^^
|
2020-07-28 15:11:42 +03:00
|
|
|
|
|
|
|
Error: While processing right hand side of main2. Can't solve constraint between: Bool and Lazy Bool.
|
|
|
|
|
2021-06-05 14:53:22 +03:00
|
|
|
lazybug:8:23--8:42
|
2021-02-11 20:24:26 +03:00
|
|
|
4 | main : IO ()
|
|
|
|
5 | main = printLn $ or (map id bools)
|
|
|
|
6 |
|
|
|
|
7 | main2 : IO ()
|
2020-07-22 22:16:43 +03:00
|
|
|
8 | main2 = printLn $ or (map (\x => x) bools)
|
2021-02-11 20:24:26 +03:00
|
|
|
^^^^^^^^^^^^^^^^^^^
|
2020-07-28 15:11:42 +03:00
|
|
|
|
|
|
|
Error: While processing right hand side of main4. Can't solve constraint between: Bool and Lazy Bool.
|
|
|
|
|
2021-06-05 14:53:22 +03:00
|
|
|
lazybug:14:22--14:27
|
2021-02-11 20:24:26 +03:00
|
|
|
10 | main3 : IO ()
|
|
|
|
11 | main3 = printLn $ or (map (\x => Delay x) bools)
|
|
|
|
12 |
|
|
|
|
13 | main4 : IO ()
|
2020-07-22 22:16:43 +03:00
|
|
|
14 | main4 = printLn $ or bools
|
2021-02-11 20:24:26 +03:00
|
|
|
^^^^^
|
2020-07-28 15:11:42 +03:00
|
|
|
|