Deprecate std/sums (#18439)

* Deprecate sums

* Update changelog.md

* Update lib/std/sums.nim

* log

* format

* remove

* Update changelog.md

Co-authored-by: sandytypical <43030857+xflywind@users.noreply.github.com>
This commit is contained in:
Antonis Geralis
2022-06-09 09:27:31 +03:00
committed by GitHub
parent 415689323c
commit 836b95c896
2 changed files with 4 additions and 0 deletions

View File

@@ -11,6 +11,8 @@
or define your own `Math.trunc` polyfill using the [`emit` pragma](https://nim-lang.org/docs/manual.html#implementation-specific-pragmas-emit-pragma). Nim uses
`Math.trunc` for the division and modulo operators for integers.
- Deprecated `std/sums`.
- Optional parameters in combination with `: body` syntax (RFC #405) are now opt-in via
`experimental:flexibleOptionalParams`.

View File

@@ -8,6 +8,8 @@
## Accurate summation functions.
{.deprecated: "use the nimble package `sums` instead.".}
runnableExamples:
import std/math