Skip to content

Instantly share code, notes, and snippets.


Yardanico/final.nim Secret

Created Aug 1, 2020
What would you like to do?
KeyValue = tuple[key, val: seq[int]]
proc tt(x: KeyValue) =
var it = x
let a = (it.key, it.val)
echo a
proc encodedQuery =
var query: seq[KeyValue]
query.add (key: @[1], val: @[2])
for elem in query:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment