How come the code on the official Purescript page does not work in http://try.purescript.org/ ?
If I clear the input and put:
module Main where import Prelude import Effect.Console (log) greet :: String -> String greet name = "Hello, " <> name <> "!" main = log (greet "World")
Error 1 of 1
Unknown module Effect.Console
But if I do
module Main where import Prelude import Control.Monad.Eff.Console (log) import TryPureScript greet :: String -> String greet name = "Hello " <> name <> "!" main = render =<< withConsole do log $ show $ greet "ppq"
Is it just running with an older version? Is the homepage out of date or the try.purescript site?