Comment Comment by mattalex Of course you can: you just have to define it in your type. The output set becomes a union type of the normal output and whatever you want as an exception.If you write this as a monad, your get very similar syntax to procedural code. parent mattalex 6 months ago
If you write this as a monad, your get very similar syntax to procedural code.