Currently pulp init generates the following example Main:
module Main where
import Prelude
import Control.Monad.Eff (Eff)
import Control.Monad.Eff.Console (CONSOLE, log)
main :: forall e. Eff (console :: CONSOLE | e) Unit
main = do
log "Hello sailor!"
however it is importing a much newer version of purescript-effect and purescript-console that have namespace changes.
Where is this example? I can update it to something like:
module Main where
import Prelude (Unit)
import Effect
import Effect.Console (log)
main :: Effect Unit
main =
log "Hello sailor!"
Currently pulp init generates the following example Main:
however it is importing a much newer version of purescript-effect and purescript-console that have namespace changes.
Where is this example? I can update it to something like:
which seems to work