]> gitweb.factorcode.org Git - factor.git/commitdiff
continuations: Rename restart to continue-restart.
authorDoug Coleman <doug.coleman@gmail.com>
Sun, 24 Mar 2013 00:18:09 +0000 (17:18 -0700)
committerDoug Coleman <doug.coleman@gmail.com>
Sun, 24 Mar 2013 00:18:09 +0000 (17:18 -0700)
basis/debugger/debugger.factor
core/continuations/continuations.factor

index d3d4b14a06c48b0951844277567b4990f2377051..e3957c6b2ef7bb9d7a0f4f0847a6ccde4dea654d 100755 (executable)
@@ -43,7 +43,8 @@ M: string error. print ;
     error-continuation get name>> assoc-stack ;
 
 : :res ( n -- * )
-    1 - restarts get-global nth f restarts set-global restart ;
+    1 - restarts get-global nth f restarts set-global
+    continue-restart ;
 
 : :1 ( -- * ) 1 :res ;
 : :2 ( -- * ) 2 :res ;
index 7187ecfec343fa2c8176a9d2275ff5f682c44f15..03142e7c32b2e167ab6f5365849d028b21a4f257 100644 (file)
@@ -182,7 +182,7 @@ TUPLE: restart name obj continuation ;
 
 C: <restart> restart
 
-: restart ( restart -- * )
+: continue-restart ( restart -- * )
     [ obj>> ] [ continuation>> ] bi continue-with ;
 
 M: object compute-restarts drop { } ;