query
On this page

traceSeq

lib.debug.traceSeq

Docs pulled from | This Revision | about 1 hour ago


builtins.trace, but the value is builtins.deepSeqed 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

Aliases

Implementation

The following is the current implementation of this function.

traceSeq =
    x:
    y: trace (builtins.deepSeq x x) y;