make more standard libraries work with nimPreviewSlimSystem (#20343)
* make more standard libraries work with `nimPreviewSlimSystem` * typo * part two * Delete specutils.nim * fixes more tests * more fixes * fixes tests * fixes three more tests * add formatfloat import * fix * last
This commit is contained in:
parent
98a717dda9
commit
3d2f0e2c7c
194 changed files with 299 additions and 54 deletions
|
|
@ -22,6 +22,8 @@ runnableExamples:
|
|||
doAssert r1 / r2 == -2 // 3
|
||||
|
||||
import math, hashes
|
||||
when defined(nimPreviewSlimSystem):
|
||||
import std/assertions
|
||||
|
||||
type Rational*[T] = object
|
||||
## A rational number, consisting of a numerator `num` and a denominator `den`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue