links icon indicating copy to clipboard operation
links copied to clipboard

Reconcile deep and shallow handlers

Open dhil opened this issue 6 years ago • 0 comments

The effect handlers extension adds two types of handlers: deep and shallow. They have their own syntactic form handle(...) { ... } and shallowhandle(...) { ... }. There is no reason why a handler cannot mix deep and shallow clauses.

The idea is to remove the shallowhandle form, and mark individual handler clauses as to whether they are deep or shallow.

dhil avatar Apr 30 '19 14:04 dhil