https://github.com/golang/go/blob/master/src/errors/wrap.go
What if we replaced all error types in that file with a empty interface or a general monad interface? Can we make it work for other types too and introduce a new monad package instead a new error package only? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/e4d546dd-2032-43f3-8d3b-40398ac63527%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.