mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-29 01:14:41 +00:00
* 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
11 lines
152 B
Nim
11 lines
152 B
Nim
import std/strutils
|
|
import std/assertions
|
|
|
|
type
|
|
MyEnum = enum
|
|
A,
|
|
a
|
|
|
|
doAssert parseEnum[MyEnum]("A") == A
|
|
doAssert parseEnum[MyEnum]("a") == a
|