module Entries.Notebook where

import App.Notebook (app)
import Data.Tuple (Tuple(..))
import Halogen (runUI)
import Utils (onLoad, mountUI)
import qualified Driver.Notebook as D

main = onLoad $ void $ do
  Tuple node driver <- runUI app
  mountUI node
  D.driver driver


Add type to notebook app
module Entries.Notebook where

import App.Notebook (app)
import Control.Monad.Eff (Eff())
import Data.Tuple (Tuple(..))
import EffectTypes (NotebookAppEff())
import Halogen (runUI)
import Utils (onLoad, mountUI)
import qualified Driver.Notebook as D

main :: Eff (NotebookAppEff ()) Unit
main = onLoad $ void $ do
  Tuple node driver <- runUI app
  mountUI node
  D.driver driver