xls icon indicating copy to clipboard operation
xls copied to clipboard

[DSLX] Support methods on structs

Open cdleary opened this issue 2 years ago • 2 comments

As reflected in #526 an outstanding request has been to support methods on struct instances so folks can use the familiar "object oriented receiver" style function invocations -- without polymorphism the additional utility is limited but familiarity/convenience / some conciseness will certainly be increased, and it helps pave the path towards monomorphization, right now the DSL only supports parametric instantiation via constexpr values.

cdleary avatar May 10 '22 20:05 cdleary