3 ms·
The article didn't really give an example of using contexts but from what I can tell they are a way to add additional semantics to a function? The article ment
by Tarean 9y ago
The article didn't really give an example of using contexts but from what I can tell they are a way to add additional semantics to a function? The article mentioned cancellation and implicit parameters at least.
My first reaction was that monads would solve the problem. Since this is go hardcoding cancellation intonthe language probably is the best available solution, though.