by lowmagnet · 4mo ago · 0 comments
`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.
No comments yet.