Idris2/tests/idris2/import005/input
Edwin Brady 028624a18d Add "import X as Y" properly
Instead of just the cursory name update that we used to do (which didn't
work properly anyway for a lot of reasons), now we add aliases for all
the names in the imported module.
So, like Idris 1, every global has a canonical name by which we can
refer to it, but it can also have aliases via "import ... as".
2020-07-04 20:26:49 +01:00

11 lines
130 B
Plaintext

:t pythag
:t fact
:t nardle
:t noo
Toast.nardle (the Int 8)
Toast.pythag 10
Test.pythag
Toast.Inside.fact 4
Test.Inside.fact 4
:q