Module

Debug

Package
purescript-debuggest
Repository
ursi/purescript-debuggest

#debugger Source

debugger :: forall a. a -> a

Adds a debugger statement.

#dir Source

dir :: forall a. a -> a

Calls console.dir with its argument, then returns it.

#log Source

log :: forall a. a -> a

Calls console.log with its argument, then returns it.

#logShow Source

logShow :: forall a. Show a => a -> a

For an argument a, calls console.log on show a and then returns a.

#taggedLog Source

taggedLog :: forall a. String -> a -> a

For a string t and value a, calls console.log(t, a) and returns a.

#taggedLogShow Source

taggedLogShow :: forall a. Show a => String -> a -> a

For a string t and value a, calls console.log(t, (show a)) and returns a.

#todo Source

todo :: forall a. a

A placeholder to use when you want your code to compile without finishing something.

#unsafeLog Source

unsafeLog :: forall b a. a -> b

Like log except it coerces the input to any type.

#unsafeDir Source

unsafeDir :: forall b a. a -> b

Like dir except it coerces the input to any type.

Modules
Debug