18 lines
451 B
Text
18 lines
451 B
Text
λ(nix : ../NixPrelude.dhall) →
|
|
let Any/toAny = ../Any/toAny.dhall nix
|
|
|
|
let Any/toTypeUnchecked = ../Any/toTypeUnchecked.dhall nix
|
|
|
|
let info
|
|
: Text → ∀(a : Type) → a → a
|
|
= λ(text : Text) →
|
|
λ(a : Type) →
|
|
λ(v : a) →
|
|
Any/toTypeUnchecked
|
|
a
|
|
( nix.builtins.trace
|
|
(Any/toAny Text "INFO: ${text}")
|
|
(Any/toAny a v)
|
|
)
|
|
|
|
in info
|