Re: what [T] means in nim?
Thanks
what [T] means in nim?
type GraphMap[T] = ref object > keyToNode: Table[T, Node] > > nodeToKey: Table[Node, T] proc newGraphMap[T](): GraphMap[T] = result.new() result.keyToNode = initTable[T, Node]() result.nodeToKey = initTable[Node, T]()
Re: Module queues is not working? Is it deprecated?
Thanks
Re: Module queues is not working? Is it deprecated?
import queues var q = initQueue[int]() q.add(8) q.add(18) Error: cannot open file: queues
Module queues is not working? Is it deprecated?
Is it deprecated?
How to create adjacency list in Nim?
How to create adjacency list in Nim?