Module

Elmish.TimeMachine.Formatting

Package
purescript-elmish-time-machine
Repository
mcordova47/purescript-elmish-time-machine

#JsPrim Source

data JsPrim

An opaque type representing a primitive value

#Value Source

data Value

A semi-opaque type representing any value to be formatted

Constructors

#formatMessage Source

formatMessage :: forall msg. Boolean -> Message msg -> String

Formats a message, using either a full representation or a just the constructor

#formatValue Source

formatValue :: Value -> String

Formats a Value as a string

#toValue Source

toValue :: forall a. a -> Value

Converts any value to a Value