dhall-nix-lib/Number/equal.dhall

10 lines
261 B
Text

λ(nix : ../NixPrelude.dhall) →
let Number = ./Type.dhall
let Any/toAny = ../Any/toAny.dhall nix
let Any/equal = ../Any/equal.dhall nix
in λ(e1 : Number) →
λ(e2 : Number) →
Any/equal (Any/toAny Number e1) (Any/toAny Number e2)