dhall-nix-lib/Number/negative.dhall

8 lines
210 B
Text

λ(nix : ../NixPrelude.dhall) →
let Number = ./Type.dhall
let Number/positive = ./positive.dhall nix
let Number/negate = ./negate.dhall nix
in λ(a : Number) → Number/positive (Number/negate a)