From ceeec38ef2215ec541f866b725e9d643391dfbae Mon Sep 17 00:00:00 2001 From: Alex Mason Date: Mon, 17 Aug 2020 17:36:13 +1000 Subject: [PATCH] Update example for (**) (#7148) The chosen example happened to work for at least three well known functions with the given arguments, `(+)`, `(*)` and `(**)`. Making the example a little less ambiguous. --- compiler/damlc/daml-stdlib-src/DA/Math.daml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/damlc/daml-stdlib-src/DA/Math.daml b/compiler/damlc/daml-stdlib-src/DA/Math.daml index a1304cff8fb9..e21ea8cd3cef 100644 --- a/compiler/damlc/daml-stdlib-src/DA/Math.daml +++ b/compiler/damlc/daml-stdlib-src/DA/Math.daml @@ -22,7 +22,7 @@ import DA.Numeric (pi) infixr 8 ** --- | Take a power of a number Example: `2.0 ** 2.0 == 4.0`. +-- | Take a power of a number Example: `2.0 ** 3.0 == 8.0`. (**) : Decimal -> Decimal -> Decimal x ** y = exp (y * log x)