Hello, so i was recently trying to use sugar's collect macro inside a sequence, 
like this:
    
    
    import tables, sugar, sequtils, strutils
    
    let l = @[
      {"one":1, "two":2, "three":3}.toTable,
      
      collect(newOrderedTable, (
        for (i, j) in zip("sun mon tue wed".split(" "), (1..4).toSeq):
           {i:j}
      ))
    ];
    
    
    Run

I thought that the code is correct and would work perfectly but im left with 
not so understandable error, it was pointing out the collect macro but i really 
didn't understand what the error is actually saying, can u tell me why this 
happening, is this some kind of bug and what should i do to correct this??

Reply via email to