Thanks @mratsim \-- I'll use your `weight = V(1)` suggestion. I'm sorry you had to fill in missing bits... the failing code is [here](https://github.com/dcurrie/AdventOfCode/tree/master/Utils)
It fails if you uncomment the test case in `dijktra.nim` and try `nim c -r dijktra.nim`
