From f6a73e5bd6a5e2d7d4eb9c8a14bdf1a0c8a4ac4c Mon Sep 17 00:00:00 2001 From: Joris Date: Tue, 4 Apr 2017 23:40:54 +0200 Subject: Bootstrap purescript --- src/Main.purs | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/Main.purs (limited to 'src/Main.purs') 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 -- cgit v1.2.3