traceValSeqNFn
lib.traceValSeqNFn
Docs pulled from | This Revision | about 1 hour ago
A combination of traceVal and traceSeqN that applies a
provided function to the value to be traced.
Inputs
f-
Function to apply
depth-
2. Function argument
v-
Value to trace
Type
traceValSeqNFn :: (a -> b) -> Int -> a -> a
Examples
lib.debug.traceValSeqNFn usage example
traceValSeqNFn (v: v // { d = "foo";}) 2 { a.b.c = 3; }
trace: { a = { b = {…}; }; d = "foo"; }
=> { a = { ... }; }
Noogle detected
Implementation
The following is the current implementation of this function.
traceValSeqNFn =
f: depth: v:
traceSeqN depth (f v) v;