dhall-nix-lib/Double/toNatural.dhall

7 lines
212 B
Text
Raw Normal View History

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