traceSeq
lib.debug.traceSeq
Docs pulled from | This Revision | about 1 hour ago
builtins.trace
, but the value is builtins.deepSeq
ed first.
Inputs
x
-
The value to trace
y
-
The value to return
Type
traceSeq :: a -> b -> b
Examples
lib.debug.traceSeq
usage example
trace { a.b.c = 3; } null
trace: { a = <CODE>; }
=> null
traceSeq { a.b.c = 3; } null
trace: { a = { b = { c = 3; }; }; }
=> null
Noogle detected
Implementation
The following is the current implementation of this function.
traceSeq =
x:
y: trace (builtins.deepSeq x x) y;