From d4d058e7f3a719690dc8f8b74b3e2f6c0e686b8d Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Tue, 29 Mar 2005 05:00:26 +0000 Subject: [PATCH] Change GUARANTEE-CONTINUATION to be standard guarantee procedure. --- v7/src/runtime/contin.scm | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/v7/src/runtime/contin.scm b/v7/src/runtime/contin.scm index 24cee468c..cd60a6d6d 100644 --- a/v7/src/runtime/contin.scm +++ b/v7/src/runtime/contin.scm @@ -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)) -- 2.25.1