2020-05-19 20:25:18 +03:00
|
|
|
1/3: Building Nat (Nat.idr)
|
|
|
|
2/3: Building Mult (Mult.idr)
|
|
|
|
3/3: Building Test (Test.idr)
|
2020-07-28 15:11:42 +03:00
|
|
|
Error: While processing type of thing. Undefined name Nat.
|
|
|
|
|
2021-06-05 14:53:22 +03:00
|
|
|
Test:5:9--5:12
|
2021-02-11 20:24:26 +03:00
|
|
|
1 | module Test
|
|
|
|
2 |
|
|
|
|
3 | import Mult
|
|
|
|
4 |
|
2020-07-22 22:16:43 +03:00
|
|
|
5 | thing : Nat -> Nat
|
2021-02-11 20:24:26 +03:00
|
|
|
^^^
|
2020-07-28 15:11:42 +03:00
|
|
|
|
2021-10-13 23:55:23 +03:00
|
|
|
Error: While processing right hand side of thing. Undefined name plus.
|
2020-07-28 15:11:42 +03:00
|
|
|
|
2021-10-13 23:55:23 +03:00
|
|
|
Test:6:19--6:23
|
2021-02-11 20:24:26 +03:00
|
|
|
2 |
|
|
|
|
3 | import Mult
|
|
|
|
4 |
|
|
|
|
5 | thing : Nat -> Nat
|
2020-07-22 22:16:43 +03:00
|
|
|
6 | thing x = mult x (plus x x)
|
2021-10-13 23:55:23 +03:00
|
|
|
^^^^
|
2020-07-28 15:11:42 +03:00
|
|
|
|