dhall-nix-lib/Double/equal.dhall

8 lines
255 B
Text

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