move prelude so that include std/prelude also works (#17110)
* move prelude so that `include std/prelude` also works * add test
This commit is contained in:
parent
bd199a8d31
commit
e94a3e5fcd
7 changed files with 28 additions and 11 deletions
|
|
@ -17,6 +17,8 @@
|
|||
`typetraits.nim` module.
|
||||
|
||||
- `prelude` now works with the JavaScript target.
|
||||
Added `sequtils` import to `prelude`.
|
||||
`prelude` can now be used via `include std/prelude`, but `include prelude` still works.
|
||||
|
||||
- Added `almostEqual` in `math` for comparing two float values using a machine epsilon.
|
||||
|
||||
|
|
@ -94,8 +96,6 @@
|
|||
shallow copying; `lists.add` concatenates two lists - an O(1) variation that consumes
|
||||
its argument, `addMoved`, is also supplied.
|
||||
|
||||
- Added `sequtils` import to `prelude`.
|
||||
|
||||
- Added `euclDiv` and `euclMod` to `math`.
|
||||
- Added `httpcore.is1xx` and missing HTTP codes.
|
||||
- Added `jsconsole.jsAssert` for JavaScript target.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue