In V language methods are defined separately from the data structures.
Does the V language allow to define methods on base types, like Array
?
Is it possible to write my_method
method like
fn (array Array) my_method() { ... }
list := ["a", "b"]
list.my_method()