dhall-nix-lib/Function/deepSeq.dhall

8 lines
352 B
Text
Raw Normal View History

2022-09-08 18:49:47 +00:00
λ(nix: ../NixPrelude.dhall) →
let Any/toAny = ../Any/toAny.dhall nix
let Any/toTypeUnchecked = ../Any/toTypeUnchecked.dhall nix
let seq : ∀(A: Type) → ∀(B: Type) → A → B → B
= λ(A: Type) → λ(B: Type) → λ(a: A) → λ(b: B) → Any/toTypeUnchecked B (nix.builtins.deepSeq (Any/toAny A a) (Any/toAny B b))
in seq