diff options
Diffstat (limited to 'example/src')
-rw-r--r-- | example/src/Foo.purs | 1 | ||||
-rw-r--r-- | example/src/Foo/Bar.purs | 3 | ||||
-rw-r--r-- | example/src/Foo/Baz.purs | 3 | ||||
-rw-r--r-- | example/src/entry.js | 4 |
4 files changed, 10 insertions, 1 deletions
diff --git a/example/src/Foo.purs b/example/src/Foo.purs index 2d35d3f..3e3a04c 100644 --- a/example/src/Foo.purs +++ b/example/src/Foo.purs | |||
@@ -1,5 +1,6 @@ | |||
1 | module Foo (foo) where | 1 | module Foo (foo) where |
2 | 2 | ||
3 | import Data.Maybe | 3 | import Data.Maybe |
4 | import qualified Foo.Bar as B | ||
4 | 5 | ||
5 | foo = "b" | 6 | foo = "b" |
diff --git a/example/src/Foo/Bar.purs b/example/src/Foo/Bar.purs new file mode 100644 index 0000000..4ae100d --- /dev/null +++ b/example/src/Foo/Bar.purs | |||
@@ -0,0 +1,3 @@ | |||
1 | module Foo.Bar (bar) where | ||
2 | |||
3 | bar = "c" | ||
diff --git a/example/src/Foo/Baz.purs b/example/src/Foo/Baz.purs new file mode 100644 index 0000000..7b0451e --- /dev/null +++ b/example/src/Foo/Baz.purs | |||
@@ -0,0 +1,3 @@ | |||
1 | module Foo.Baz (baz) where | ||
2 | |||
3 | baz = "d" | ||
diff --git a/example/src/entry.js b/example/src/entry.js index 4c15475..160bee4 100644 --- a/example/src/entry.js +++ b/example/src/entry.js | |||
@@ -2,4 +2,6 @@ var test = require('purs?output=output!./Test.purs'); | |||
2 | 2 | ||
3 | var foo = require('purs?output=output!./Foo.purs'); | 3 | var foo = require('purs?output=output!./Foo.purs'); |
4 | 4 | ||
5 | console.log(test, foo); | 5 | var baz = require('purs?output=output!./Foo/Baz.purs'); |
6 | |||
7 | console.log(test, foo, baz); | ||