class type()::V x: int y: int fun norm() sqrt(x**2 + y**2) end end
attributeswhich btw is ablso amenable to other evolution like static type declaration without having to change the syntax of Ruby. Like in
attr_type my_attr: :String, my_other_attr: :Circle. This is what I opted for in Rlang.