enum_ord

Run Settings
LanguageNim
Language Version
Run Command
from math import pow # boilerplate for printing the type, taken from the typetraits doc: import typetraits proc `$`*[T](some:typedesc[T]): string = name(T) template test(x): stmt = echo "type: ", type(x), ", value: ", x type Concentrations = enum M, mM, uM, nM Volumes = enum L, mL, uL var unit = mM test unit.ord
Editor Settings
Theme
Key bindings
Full width
Lines