mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-27 05:34:40 +03:00
25 lines
458 B
Plaintext
25 lines
458 B
Plaintext
1/3: Building Nat (Nat.idr)
|
|
2/3: Building Mult (Mult.idr)
|
|
3/3: Building Test (Test.idr)
|
|
Error: While processing type of thing. Undefined name Nat.
|
|
|
|
Test.idr:5:9--5:12
|
|
1 | module Test
|
|
2 |
|
|
3 | import Mult
|
|
4 |
|
|
5 | thing : Nat -> Nat
|
|
^^^
|
|
|
|
Error: No type declaration for Test.thing.
|
|
|
|
Test.idr:6:1--6:28
|
|
2 |
|
|
3 | import Mult
|
|
4 |
|
|
5 | thing : Nat -> Nat
|
|
6 | thing x = mult x (plus x x)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
Test> Bye for now!
|