Comment by dvdkon
15 hours ago
Maybe it's just familiarity, but I think it would look a lot more comprehensible with some punctuation. Just because a syntax is formally unambiguous doesn't mean it looks that way to humans.
func (b: Box[T]).Map[U: any](f: func(T) -> U) -> Box[U]
No comments yet
Contribute on Hacker News ↗