dhall-nix-lib/Double/divide.dhall

12 lines
340 B
Text
Raw Normal View History

2022-08-31 18:23:13 +00:00
λ(nix : ../NixPrelude.dhall) →
let Number/fromDouble = ../Number/fromDouble.dhall nix
let Number/divide = ../Number/divide.dhall nix
let Number/toDouble = ../Number/toDouble.dhall nix
in λ(a : Double) →
λ(b : Double) →
Number/toDouble
(Number/divide (Number/fromDouble a) (Number/fromDouble b))