UNPKG

fp-ts-std

Version:

The missing pseudo-standard library for fp-ts.

13 lines (12 loc) 277 B
export const trace = (msg) => (x) => { console.log(msg); return x; }; export const traceWithValue = (msg) => (x) => { console.log(msg, x); return x; }; export const traceShowWithValue = (S) => (msg) => (x) => { console.log(msg, S.show(x)); return x; };