diff options
Diffstat (limited to 'example/src')
-rw-r--r-- | example/src/Bar.purs | 3 | ||||
-rw-r--r-- | example/src/Foo.purs | 15 | ||||
-rw-r--r-- | example/src/Foo/Bar.purs | 13 | ||||
-rw-r--r-- | example/src/Foo/Baz.purs | 3 | ||||
-rw-r--r-- | example/src/Foo/Boz.purs | 5 | ||||
-rw-r--r-- | example/src/FooFFI.js | 5 | ||||
-rw-r--r-- | example/src/Test.purs | 7 | ||||
-rw-r--r-- | example/src/TestFFI.js | 7 | ||||
-rw-r--r-- | example/src/entry.js | 11 | ||||
-rw-r--r-- | example/src/jam.js | 5 |
10 files changed, 0 insertions, 74 deletions
diff --git a/example/src/Bar.purs b/example/src/Bar.purs deleted file mode 100644 index a37171f..0000000 --- a/example/src/Bar.purs +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | module Bar where | ||
2 | |||
3 | test = "b" | ||
diff --git a/example/src/Foo.purs b/example/src/Foo.purs deleted file mode 100644 index a715be0..0000000 --- a/example/src/Foo.purs +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | module Foo where | ||
2 | |||
3 | import Prelude | ||
4 | |||
5 | import qualified Foo.Bar as B | ||
6 | |||
7 | foo = "A" | ||
8 | |||
9 | bar = "B" | ||
10 | |||
11 | jaz = "D" ++ B.jar ++ B.jee | ||
12 | |||
13 | foreign import foot :: String | ||
14 | |||
15 | foreign import meter :: String | ||
diff --git a/example/src/Foo/Bar.purs b/example/src/Foo/Bar.purs deleted file mode 100644 index 1b0919c..0000000 --- a/example/src/Foo/Bar.purs +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | module Foo.Bar (bar, jar, jee) where | ||
2 | |||
3 | import Foo.Boz | ||
4 | |||
5 | bar = "u" | ||
6 | |||
7 | bar' = "d" | ||
8 | |||
9 | jam = "c" | ||
10 | |||
11 | jar = "xyzw" | ||
12 | |||
13 | jee = "abcde" | ||
diff --git a/example/src/Foo/Baz.purs b/example/src/Foo/Baz.purs deleted file mode 100644 index 7b0451e..0000000 --- a/example/src/Foo/Baz.purs +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | module Foo.Baz (baz) where | ||
2 | |||
3 | baz = "d" | ||
diff --git a/example/src/Foo/Boz.purs b/example/src/Foo/Boz.purs deleted file mode 100644 index c802e47..0000000 --- a/example/src/Foo/Boz.purs +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | module Foo.Boz where | ||
2 | |||
3 | a = "a" | ||
4 | |||
5 | b = "b" | ||
diff --git a/example/src/FooFFI.js b/example/src/FooFFI.js deleted file mode 100644 index a2681c8..0000000 --- a/example/src/FooFFI.js +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | // module Foo | ||
2 | |||
3 | exports.foot = "a"; | ||
4 | |||
5 | exports.meter = "b"; | ||
diff --git a/example/src/Test.purs b/example/src/Test.purs deleted file mode 100644 index 3a92681..0000000 --- a/example/src/Test.purs +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | module Test (testing) where | ||
2 | |||
3 | bar = "c" | ||
4 | |||
5 | goo = "a" | ||
6 | |||
7 | foreign import testing :: String | ||
diff --git a/example/src/TestFFI.js b/example/src/TestFFI.js deleted file mode 100644 index dc2f04f..0000000 --- a/example/src/TestFFI.js +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | 'use strict'; | ||
2 | |||
3 | // module Test | ||
4 | |||
5 | var testing = 'abcde'; | ||
6 | |||
7 | exports.testing = testing; | ||
diff --git a/example/src/entry.js b/example/src/entry.js deleted file mode 100644 index a1e2a99..0000000 --- a/example/src/entry.js +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | var Prelude = require('purescript-prelude/src/Prelude'); | ||
2 | |||
3 | var test = require('./Test'); | ||
4 | |||
5 | var foo = require('./Foo.purs'); | ||
6 | |||
7 | var baz = require('./Foo/Baz'); | ||
8 | |||
9 | var jam = require('./jam'); | ||
10 | |||
11 | console.log(Prelude, test, foo, baz, jam); | ||
diff --git a/example/src/jam.js b/example/src/jam.js deleted file mode 100644 index 8889a69..0000000 --- a/example/src/jam.js +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | var x = 'a'; | ||
2 | |||
3 | var abcde = require('./Bar'); | ||
4 | |||
5 | module.exports = abcde; | ||