@wizzardx
In type declarations, generics are just before the equal sign:
type
Node {.acyclic.} [T]= ref object
left, right: Node[T]
data: T
@wizzardx
In type declarations, generics are just before the equal sign:
type
Node {.acyclic.} [T]= ref object
left, right: Node[T]
data: T