News for hackers. Stuff that matters.
Re:Go: Support for Generic Methods by dnnddidiej on Thursday May 28, 2026 @06:10AM (#48306893)
> Perhaps what you want is a container which adheres to monad laws capable of abstracting exceptions

That is what I meant. Struggling to picture what the other "nonsensical" thing is.

Re:Go: Support for Generic Methods by AdieuToLogic on Thursday May 28, 2026 @11:02PM (#48318491)
As I commented here[0], my interpretation of:

  Can we have Exception monads? Asking for friend.
Was a desire to have "a type which handles raising Exception types." Until now, I was unaware of "Exception monad" being an alternate moniker for Either/Error types.

0 - https://news.ycombinator.com/item?id=48318468