From 051c54bc5fd21db7758abfc8cbd53921bf50495e Mon Sep 17 00:00:00 2001 From: eric thul Date: Wed, 14 Jan 2015 22:53:28 -0500 Subject: updating example --- example/src/Foo.purs | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 example/src/Foo.purs (limited to 'example/src/Foo.purs') diff --git a/example/src/Foo.purs b/example/src/Foo.purs new file mode 100644 index 0000000..2d35d3f --- /dev/null +++ b/example/src/Foo.purs @@ -0,0 +1,5 @@ +module Foo (foo) where + +import Data.Maybe + +foo = "b" -- cgit v1.2.3 From a92aa714f0a5436d9f06f82b3cad4df8129e4064 Mon Sep 17 00:00:00 2001 From: eric thul Date: Sat, 17 Jan 2015 16:24:33 -0500 Subject: Parsing module name from source Resolves issue #3 since the the module name defined in the PureScript file is used to resolve the location of the CommonJS-generated output. --- example/src/Foo.purs | 1 + 1 file changed, 1 insertion(+) (limited to 'example/src/Foo.purs') 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 @@ module Foo (foo) where import Data.Maybe +import qualified Foo.Bar as B foo = "b" -- cgit v1.2.3