HI I have a tuple or say object

type
    a = tuple[b : int, c : string]
var
    d : a

d = (b:10,c:"cd") echo d

I want to generated this statement based on a sequence d = (b:10,c:"cd")

What would be the best way :) can I use templates or do I need macros ?

Thanks

Reply via email to