Module

Control.Monad.Eff.Console

Package
purescript-console
Repository
purescript/purescript-console

#CONSOLE Source

data CONSOLE :: Effect

The CONSOLE effect represents those computations which write to the console.

#log Source

log :: forall eff. String -> Eff (console :: CONSOLE | eff) Unit

Write a message to the console.

#logShow Source

logShow :: forall eff a. Show a => a -> Eff (console :: CONSOLE | eff) Unit

Write a value to the console, using its Show instance to produce a String.

#warn Source

warn :: forall eff. String -> Eff (console :: CONSOLE | eff) Unit

Write an warning to the console.

#warnShow Source

warnShow :: forall eff a. Show a => a -> Eff (console :: CONSOLE | eff) Unit

Write an warning value to the console, using its Show instance to produce a String.

#error Source

error :: forall eff. String -> Eff (console :: CONSOLE | eff) Unit

Write an error to the console.

#errorShow Source

errorShow :: forall eff a. Show a => a -> Eff (console :: CONSOLE | eff) Unit

Write an error value to the console, using its Show instance to produce a String.

#info Source

info :: forall eff. String -> Eff (console :: CONSOLE | eff) Unit

Write an info message to the console.

#infoShow Source

infoShow :: forall eff a. Show a => a -> Eff (console :: CONSOLE | eff) Unit

Write an info value to the console, using its Show instance to produce a String.