dhall-nix-lib/Double/nonNegative.dhall

6 lines
218 B
Text

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