News for hackers. Stuff that matters.
Re:Context should go away for Go 2 by wbl on Tuesday January 21, 2025 @08:27PM (#42787591)
Basically you'd be asking for inferring a record type largely transparently. That's going to quickly explode to the most naive form because it's very hard to tell what could be called, especially in Go.
Re:Context should go away for Go 2 by mst on Wednesday January 22, 2025 @06:40AM (#42791673)
I don't think you could fit it to Go, no.

But see https://hackage.haskell.org/package/effectful for work in the general area that seems rather promising.