pure icon indicating copy to clipboard operation
pure copied to clipboard

Impossible to define/raise user-defined exceptions

Open myreen opened this issue 1 year ago • 1 comments

This works:

data Error = Fail

main = Raise Subscript

While the following is rejected by the compiler:

data Error = Fail

main = Raise Fail

myreen avatar Jan 21 '23 12:01 myreen