Commits

Alex Suraci  committed c089edc

use safe variable for @handle: macro

  • Participants
  • Parent commits a2adb61

Comments (0)

Files changed (1)

File prelude/exception.atomo

 macro (action handle: (branches: Block))
   { handlers = branches contents map:
-      { `(~c -> ~e) | `(~c -> escape-handle yield: ~e)
+      { `(~c -> ~e) | `(~c -> #escape-handle yield: ~e)
       }
 
-    `({ escape-handle | ~action bind: ~(`Block new: handlers) } call/cc)
+    `({ #escape-handle | ~action bind: ~(`Block new: handlers) } call/cc)
   } call
 
 macro (a handle: (b: Block) ensuring: (c: Block))