dhall-nix-lib/Any/lor.dhall

8 lines
230 B
Text

λ(nix : ../NixPrelude.dhall) →
let Any = ./Type.dhall
let Any/toTypeUnchecked = ./toTypeUnchecked.dhall nix
in λ(e1 : Any) →
λ(e2 : Any) →
Any/toTypeUnchecked Bool e1 || Any/toTypeUnchecked Bool e2