diff options
author | eric thul <thul.eric@gmail.com> | 2015-07-05 10:13:47 -0400 |
---|---|---|
committer | eric thul <thul.eric@gmail.com> | 2015-07-06 23:53:01 -0400 |
commit | 1983893bf09a5c2ea1946e156be5da170075af7e (patch) | |
tree | f99bda0c0ff3c50356d8ab152336ba461c292494 /example/src | |
parent | 4558c6cf7879207166b1cc013e2e8112f558bb1d (diff) | |
download | purs-loader-1983893bf09a5c2ea1946e156be5da170075af7e.tar.gz purs-loader-1983893bf09a5c2ea1946e156be5da170075af7e.tar.zst purs-loader-1983893bf09a5c2ea1946e156be5da170075af7e.zip |
Updating for PureScript 0.7
Resolves #14
Diffstat (limited to 'example/src')
-rw-r--r-- | example/src/Foo.purs | 5 | ||||
-rw-r--r-- | example/src/Foo/Bar.purs | 2 | ||||
-rw-r--r-- | example/src/Test.purs | 2 | ||||
-rw-r--r-- | example/src/entry.js | 6 |
4 files changed, 12 insertions, 3 deletions
diff --git a/example/src/Foo.purs b/example/src/Foo.purs index 3e3a04c..b234e0d 100644 --- a/example/src/Foo.purs +++ b/example/src/Foo.purs | |||
@@ -1,6 +1,9 @@ | |||
1 | module Foo (foo) where | 1 | module Foo (foo) where |
2 | 2 | ||
3 | import Data.Maybe | 3 | import Prelude |
4 | |||
4 | import qualified Foo.Bar as B | 5 | import qualified Foo.Bar as B |
5 | 6 | ||
6 | foo = "b" | 7 | foo = "b" |
8 | |||
9 | foo' = "c" | ||
diff --git a/example/src/Foo/Bar.purs b/example/src/Foo/Bar.purs index 4ae100d..6932902 100644 --- a/example/src/Foo/Bar.purs +++ b/example/src/Foo/Bar.purs | |||
@@ -1,3 +1,5 @@ | |||
1 | module Foo.Bar (bar) where | 1 | module Foo.Bar (bar) where |
2 | 2 | ||
3 | bar = "c" | 3 | bar = "c" |
4 | |||
5 | bar' = "d" | ||
diff --git a/example/src/Test.purs b/example/src/Test.purs index 8a5cb88..d9f1b96 100644 --- a/example/src/Test.purs +++ b/example/src/Test.purs | |||
@@ -1,5 +1,5 @@ | |||
1 | module Test (test) where | 1 | module Test (test) where |
2 | 2 | ||
3 | import Data.Maybe | 3 | import Prelude |
4 | 4 | ||
5 | test = "a" | 5 | test = "a" |
diff --git a/example/src/entry.js b/example/src/entry.js index cc09034..344d4c6 100644 --- a/example/src/entry.js +++ b/example/src/entry.js | |||
@@ -1,7 +1,11 @@ | |||
1 | var Prelude = require('Prelude'); | ||
2 | |||
1 | var test = require('./Test'); | 3 | var test = require('./Test'); |
2 | 4 | ||
3 | var foo = require('./Foo'); | 5 | var foo = require('./Foo'); |
4 | 6 | ||
5 | var baz = require('./Foo/Baz'); | 7 | var baz = require('./Foo/Baz'); |
6 | 8 | ||
7 | console.log(test, foo, baz); | 9 | var bar = require('./Foo/Bar'); |
10 | |||
11 | console.log(Prelude, test, foo, baz, bar); | ||