Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
_jackdk_
3 months ago
|
parent
|
context
|
favorite
| on:
Go: Support for Generic Methods
I am not very familiar with Go and especially not its generics support. Can you implement the "join" version instead of the "bind" version, where you turn a T[T[a]] into a T[a]?
assbuttbuttass
3 months ago
[–]
Hmm I wasn't familiar with join, but it looks like you still need join + fmap for the construction? I believe fmap would also need a generic method
_jackdk_
3 months ago
|
parent
[–]
Yeah you would, that's true.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: