Passing an empty seq to mapIt works with devel and 1.6.10:
import std/sequtils
let
nums: seq[int] = @[]
strings = nums.mapIt($it)
echo strings
Run
- strutils: mapIt: empty seq gives index error freeflow
- strutils: mapIt: empty seq gives index error jrfondren
