I started learning Nim recently. Is there a way to convert a tuple into a 
object? What I want is to do the following. 
    
    
    proc createRef(typeinfo:typedesc, data:tuple):auto =
        result = new(typeinfo)
        #fill the result object with the values in the tuple ???
    
    

Reply via email to