id | title |
---|---|
Trace |
Module Trace |
function
since 1.0.0
Signature
<A>(a: A): A
Description
Log any value and return it
function
since 1.0.0
Signature
<A>(message: any, out: Lazy<A>): A
Description
Log any value to the console for debugging purposes and then return a value. This will log the value's underlying representation for low-level debugging
function
since 1.0.0
Signature
traceA<F>(F: Applicative<F>): (message: any) => HKT<F, void>
Description
Log a message to the console for debugging purposes and then return the unit value of the Applicative F
function
since 1.0.0
Signature
traceM<F>(F: Monad<F>): <A>(a: A) => HKT<F, A>
Description
Log any value to the console and return it in Monad
useful when one has monadic chains