You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Arrays are painful to work with. I see how varargs can be useful in the constructor signature but I don't think anyone would want to work with them when pattern matching on the datatype. plus that would mean the datatype is mutable...
In your example I think you would be better of using a datatype like NonEmpty<T> that may already provide the varargs constructor.
Would be it possible to add support for varargs:
generators constructors like:
It would be handy if the constructor method matched the vararg definition.
The text was updated successfully, but these errors were encountered: