dhall-nix-lib/Number/toNatural.dhall

9 lines
229 B
Text
Raw Normal View History

2022-09-01 08:05:34 +00:00
λ(nix : ../NixPrelude.dhall) →
let Number = ./Type.dhall
let Integer/toNatural = ../Integer/toNatural.dhall
let Number/toInteger = ./toInteger.dhall nix
in λ(a : Number) → Integer/toNatural (Number/toInteger a)