IIRC, semicolons can be necessary with the `using` construct.
    
    
    type Vec = tuple[x, y: float]
    using vec: Vec
    func `*`(vec; a: float): Vec =
      Vec(x: vec.x * a, y: vec.y * a)
    
    
    Run

Reply via email to