dhall-nix-lib/Any/lessThan.dhall

13 lines
314 B
Text
Raw Normal View History

2022-08-31 13:18:49 +00:00
λ(nix : ../NixPrelude.dhall) →
let Any = ./Type.dhall
let Number = ../Number/Type.dhall
let Any/toTypeUnchecked = ./toTypeUnchecked.dhall nix
in λ(e1 : Any) →
λ(e2 : Any) →
nix.builtins.lessThan
(Any/toTypeUnchecked Number e1)
(Any/toTypeUnchecked Number e2)