dhall-nix-lib/Function/seq.dhall

17 lines
418 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.seq (Any/toAny A a) (Any/toAny B b))
in seq