I don't want this.

Can we just have ability to repeat fields in object variants?
    
    
    type
      NodeKind = enum
        BinaryOpr
        UnaryOpr
        Variable
        Value
      
      Node = object
        case kind: NodeKind
        of BinaryOpr:
          a, b: Node
        of UnaryOpr: UnaryNode
          a: Node
        of Variable:
          value: string
        of Value:
          value: int
    
    
    Run

No extra syntax. Just making sure futures work as people expect?

Reply via email to