@Arrrrrrrrr : if you are on devel, you can use [mapLiterals](https://github.com/nim-lang/Nim/blob/devel/lib/pure/collections/sequtils.nim#L721) from sequtils import sequtils let x = mapLiterals([0.1, 1.2, 2.3, 3.4], int) doAssert x is array[4, int]
- shorthand for literal type annotations? jackmott
- Re: shorthand for literal type annotations? pqflx3
- Re: shorthand for literal type annotations? jester
- Re: shorthand for literal type annotations? pqflx3
- Re: shorthand for literal type annotations? jackmott
- Re: shorthand for literal type annotation... Arrrrrrrrr
- Re: shorthand for literal type annota... stisa
- Re: shorthand for literal type an... Jehan
- Re: shorthand for literal type an... Arrrrrrrrr
