Arc Forumnew | comments | leaders | submitlogin
restartable: modifier
5 points by almkglor 5726 days ago | 1 comment
Being utterly bored once again, I have created the restartable: modifier:

  (mac restartable body
    `(let restart nil
       (= restart (ccc [fn () (_ restart)]))
Basically, you can use this modifier to create a control structure that you can restart:

    (if (some-fail) (restart))
Dubious usage, of course ^^

1 point by stefano 5724 days ago | link

The ultimate goto! :)