aboutsummaryrefslogtreecommitdiffhomepage
path: root/example/src
diff options
context:
space:
mode:
authoreric thul <thul.eric@gmail.com>2016-03-13 10:06:11 -0400
committereric thul <thul.eric@gmail.com>2016-03-13 10:06:11 -0400
commit1a7a07b7a4fa93a55a600ca9d466020f3e11ab5a (patch)
tree9af0a5120593adeb47229d6a564fee86ab9f0856 /example/src
parent0f0403a8359f316ece009442f2b3803e897cc9f1 (diff)
downloadpurs-loader-1a7a07b7a4fa93a55a600ca9d466020f3e11ab5a.tar.gz
purs-loader-1a7a07b7a4fa93a55a600ca9d466020f3e11ab5a.tar.zst
purs-loader-1a7a07b7a4fa93a55a600ca9d466020f3e11ab5a.zip
Extracting out the example
Diffstat (limited to 'example/src')
-rw-r--r--example/src/Bar.purs3
-rw-r--r--example/src/Foo.purs15
-rw-r--r--example/src/Foo/Bar.purs13
-rw-r--r--example/src/Foo/Baz.purs3
-rw-r--r--example/src/Foo/Boz.purs5
-rw-r--r--example/src/FooFFI.js5
-rw-r--r--example/src/Test.purs7
-rw-r--r--example/src/TestFFI.js7
-rw-r--r--example/src/entry.js11
-rw-r--r--example/src/jam.js5
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 @@
1module Bar where
2
3test = "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 @@
1module Foo where
2
3import Prelude
4
5import qualified Foo.Bar as B
6
7foo = "A"
8
9bar = "B"
10
11jaz = "D" ++ B.jar ++ B.jee
12
13foreign import foot :: String
14
15foreign 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 @@
1module Foo.Bar (bar, jar, jee) where
2
3import Foo.Boz
4
5bar = "u"
6
7bar' = "d"
8
9jam = "c"
10
11jar = "xyzw"
12
13jee = "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 @@
1module Foo.Baz (baz) where
2
3baz = "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 @@
1module Foo.Boz where
2
3a = "a"
4
5b = "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
3exports.foot = "a";
4
5exports.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 @@
1module Test (testing) where
2
3bar = "c"
4
5goo = "a"
6
7foreign 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
5var testing = 'abcde';
6
7exports.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 @@
1var Prelude = require('purescript-prelude/src/Prelude');
2
3var test = require('./Test');
4
5var foo = require('./Foo.purs');
6
7var baz = require('./Foo/Baz');
8
9var jam = require('./jam');
10
11console.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 @@
1var x = 'a';
2
3var abcde = require('./Bar');
4
5module.exports = abcde;