aboutsummaryrefslogtreecommitdiff
path: root/src/Main.purs
blob: 6c7fe42ff506a13de3a144a2f8ccef6cd426ab7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
module Main
  ( 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 Page.init body