dhall-nix-lib/Double/negative.dhall

6 lines
209 B
Text

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