Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
arankine
· 6y ago · 0 comments
It's an implementation of the functional option pattern used a lot in go code. See
https://dave.cheney.net/2014/10/17/functional-options-for-fr...
for a rundown.
Comments
[–]
erik_seaberg
6y ago
It's a functor, though the type system doesn't let you write a reusable fmap.