first steps of making 'opt' a first class type for Nim
This commit is contained in:
parent
e879da5791
commit
f7f3a25be8
20 changed files with 198 additions and 35 deletions
|
|
@ -54,6 +54,7 @@ type
|
|||
akUInt16 = 42, ## any represents an unsigned in16
|
||||
akUInt32 = 43, ## any represents an unsigned int32
|
||||
akUInt64 = 44, ## any represents an unsigned int64
|
||||
akOpt = 44+18 ## the builtin 'opt' type.
|
||||
|
||||
Any* = object ## can represent any nim value; NOTE: the wrapped
|
||||
## value can be modified with its wrapper! This means
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue