dhall-nix-lib/Number/nonPositive.dhall

8 lines
242 B
Text

λ(nix : ../NixPrelude.dhall) →
let Number = ./Type.dhall
let Number/fromNatural = ./fromNatural.dhall nix
let Number/lessThanEqual = ./lessThanEqual.dhall nix
in λ(a : Number) → Number/lessThanEqual a (Number/fromNatural 0)