dhall-nix-lib/Double/lessThan.dhall

8 lines
264 B
Text

λ(nix : ../NixPrelude.dhall) →
let Number/fromDouble = ../Number/fromDouble.dhall nix
let Number/lessThan = ../Number/lessThan.dhall nix
in λ(a : Double) →
λ(b : Double) →
Number/lessThan (Number/fromDouble a) (Number/fromDouble b)