8 lines
272 B
Text
8 lines
272 B
Text
λ(nix : ../NixPrelude.dhall) →
|
|
let Number/fromDouble = ../Number/fromDouble.dhall nix
|
|
|
|
let Number/clamp = ../Number/clamp.dhall nix
|
|
|
|
let Number/toDouble = ../Number/toDouble.dhall nix
|
|
|
|
in λ(a : Double) → Number/toDouble (Number/clamp (Number/fromDouble a))
|