cs3110 / textbook

The CS 3110 Textbook, "OCaml Programming: Correct + Efficient + Beautiful"
Other
720 stars 132 forks source link

Fix de-sugared exception pattern #56

Closed acorello closed 2 years ago

acorello commented 2 years ago

The code showing a de-sugared match e with ... | exception pe1 -> ... does not compile. The try expression should be the match expression but the code was reversed.