make Import example more complex
commitcc4db202506d9e9fc279b09fced2f8478ee23e6f
authorBogdan Popa <popa.bogdanp@gmail.com>
dateSun 17 Nov 2013, 00:43 (13 years ago)
parentd3ad572
examples/passing/Import.ps+5−4
@@ -2,10 +2,11 @@ module Hello where
22 id :: forall a. a -> a
33 id = \x -> x
44
5− foo = id
5+ module Nested where
6+ import Hello (id)
67
7−import Hello
8−import Hello (id)
9−import Hello (id, foo)
8+ foo = id
9+
10+import Hello.Nested
1011
1112main = \() -> foo 42