News for hackers. Stuff that matters.
Re:Error stack traces in Go with x/xerror by ttymck on Tuesday August 24, 2021 @01:47PM (#28292446)
Can you clarify the distinction between "abstract" and "specific"?

Is Scala's Try[A] "specific"?

Re:Error stack traces in Go with x/xerror by scns on Wednesday August 25, 2021 @04:17PM (#28306380)
Sure. Result is specific, you get a value or an error. Either can be used the same way, but you don't have to. The convention is use Right for the value and Left for the error but you can use it in other ways too, eg Left for an Int and Right for a Float.