purescript-contrib / pulp

A build tool for PureScript projects
GNU Lesser General Public License v3.0
445 stars 86 forks source link

Update generated project to use Effect #337

Closed LiamGoodacre closed 6 years ago

LiamGoodacre commented 6 years ago

Once PureScript 0.12 is out, we should be using Effect not Eff.

So main will be something like:

module Main where

import Prelude
import Effect (Effect)
import Effect.Console (log)

main :: Effect Unit
main = do
  log "Hello sailor!"
eviefp commented 6 years ago

Did anyone start working on this? Have a couple of days off, could give it a go.

LiamGoodacre commented 6 years ago

@vladciobanu that would be great, thanks.

eviefp commented 6 years ago

Do we want to keep the old version under a flag? Like pulp init --with-eff or something?

I say no since it only takes a few keystrokes to replace Effect with Eff.