This has to be a simple thing I am missing, but for some reason I am no longer able to import std/sequtils:
tmp % cat foo.nim
import std/sequtils
tmp % nim c foo.nim
Hint: used config file '/usr/local/Cellar/nim/1.6.10/nim/config/nim.cfg' [Conf]
Hint: used config file '/usr/local/Cellar/nim/1.6.10/nim/config/config.nims' [Conf]
............................................................
/usr/local/Cellar/nim/1.6.10/nim/lib/pure/collections/sequtils.nim(786, 15) Error: expected: ':', but got: 'result'
What could it be?
Wow, I have found it.
I have looked at the file in my disk and it is different to the one in GitHub for v1.6.10.
I have never opened that file, but while doing an AoC exercise I renamed a symbol using this VS Code extension and the rename modified sequtils.nim!