aboutsummaryrefslogtreecommitdiff
path: root/src/Main.purs
diff options
context:
space:
mode:
authorJoris2017-04-04 23:40:54 +0200
committerJoris2017-04-04 23:42:42 +0200
commitf6a73e5bd6a5e2d7d4eb9c8a14bdf1a0c8a4ac4c (patch)
tree184b0ef41ad60dcc9e5cc927604c031e0db81bbf /src/Main.purs
parent6228c242fda7b33bc919f2a74509314d1e671d4b (diff)
Bootstrap purescript
Diffstat (limited to 'src/Main.purs')
-rw-r--r--src/Main.purs13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/Main.purs b/src/Main.purs
new file mode 100644
index 0000000..3121aa5
--- /dev/null
+++ b/src/Main.purs
@@ -0,0 +1,13 @@
+module Main where
+
+import Prelude
+import Control.Monad.Eff (Eff)
+import Halogen.Aff as HA
+import Halogen.VDom.Driver (runUI)
+
+import Page as Page
+
+main :: Eff (HA.HalogenEffects ()) Unit
+main = HA.runHalogenAff do
+ body <- HA.awaitBody
+ runUI Page.component unit body