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
Any thoughts or plans about adding go's generics to Clover? I'm thinking along the lines of primarily in clover.Document classes, replacing interface{} parameters with a concrete generic type; something along the lines of:
func NewDocumentOf[T any](o T) *Document { ... }
and related structures.. Not sure how much that would modify the internal data structures, which is why I ask.. :)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Any thoughts or plans about adding go's generics to Clover? I'm thinking along the lines of primarily in clover.Document classes, replacing
interface{}
parameters with a concrete generic type; something along the lines of:and related structures.. Not sure how much that would modify the internal data structures, which is why I ask.. :)
Beta Was this translation helpful? Give feedback.
All reactions