dhall-nix-lib/Double/multiply.dhall

11 lines
346 B
Text

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