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
No, SimpleTraits has no such feature. I think you should be able to hand code it. I think what you are after is called an "associated type" at least in the Rust community. I did some work on that back in the Traits.jl days, maybe looking through that repo could be of help https://github.com/mauro3/Traits.jl.
I will close this as I do not plan to implement such a feature. Feel free to ask more question here though.
Is it possible to define parametric types with
SimpleTraits.jl
?The package documentation shows examples like
but I have yet to see the same for parametric types. What I'm looking for is something like
Does this syntax exist somewhere?
The text was updated successfully, but these errors were encountered: