Resumable exceptions in plain OCaml
Resumable exceptions are the strict generalization of regular exceptions,
which lets the exception raising form return a value and so the
computation may continue. It's the exception handler that decides
either to abort the exceptional computation or to resume it with a
particular value. We show a conservative and elementary implementation of resumable
exceptions in OCaml: the implementation is a self-contained 100% pure
OCaml library.
[ Homepage ]
| Author: | Oleg Kiselyov. |
| Last modification date: | 16-Jun-2006 |
| Development status: | Beta |
| Kind: | Libraries :: Native OCaml libraries |
| Topic: | Software development :: Language extensions |
| Homepage: | http://pobox.com/~oleg/ftp/ML/resumable.ml |