lowmagnet
Joined 15 years ago
Karma
593
Submissions
427
Member since
Feb 1
Joined 15 years ago
I can't wait to see the Container stuff in the next iteration, too.
`func (b Box[In]) Map[Out any](f func(In) Out)Box[Out]`
Or
`func Apply[In, Out any](in []In, f func(In) Out) []Out`
Which can be used anywhere and is not tied to a "Box"
Honestly if it wasn't written in go it'd fit right in with Java, with a Verb in the kingdom of Nouns.
But he actually wrote those and they made sense.