Change GUARANTEE-CONTINUATION to be standard guarantee procedure.
authorChris Hanson <org/chris-hanson/cph>
Tue, 29 Mar 2005 05:00:26 +0000 (05:00 +0000)
committerChris Hanson <org/chris-hanson/cph>
Tue, 29 Mar 2005 05:00:26 +0000 (05:00 +0000)
v7/src/runtime/contin.scm

index 24cee468c19e6b867a3550a522085746bef05b70..cd60a6d6d40b94d927007163bfe60dd49c584c11 100644 (file)
@@ -1,8 +1,8 @@
 #| -*-Scheme-*-
 
-$Id: contin.scm,v 14.12 2003/02/14 18:28:32 cph Exp $
+$Id: contin.scm,v 14.13 2005/03/29 05:00:26 cph Exp $
 
-Copyright (c) 1988-1999 Massachusetts Institute of Technology
+Copyright 1988,1989,1991,1992,1999,2005 Massachusetts Institute of Technology
 
 This file is part of MIT/GNU Scheme.
 
@@ -145,10 +145,7 @@ USA.
           #t
           (continuation? (entity-procedure object)))))
 
-(define (guarantee-continuation continuation)
-  (if (not (continuation? continuation))
-      (error:wrong-type-argument continuation "continuation" #f))
-  continuation)
+(define-guarantee continuation "continuation")
 
 (define-integrable (continuation/invocation-method continuation)
   (entity-procedure continuation))