From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: prj@po.cwru.edu (Paul Jarc) Newsgroups: gmane.lisp.guile.devel Subject: Re: lazy-handler-dispatch and debug-on-error Date: Mon, 17 Nov 2003 10:02:51 -0500 Organization: What did you have in mind? A short, blunt, human pyramid? Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7BIT X-Trace: sea.gmane.org 1069081602 5154 80.91.224.253 (17 Nov 2003 15:06:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 17 Nov 2003 15:06:42 +0000 (UTC) Cc: Guile Development Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Nov 17 16:06:38 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ALkxa-0004YV-00 for ; Mon, 17 Nov 2003 16:06:38 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ALltn-0002mb-5U for guile-devel@m.gmane.org; Mon, 17 Nov 2003 11:06:47 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1ALltU-0002kp-SF for guile-devel@gnu.org; Mon, 17 Nov 2003 11:06:28 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1ALlsy-0002QL-So for guile-devel@gnu.org; Mon, 17 Nov 2003 11:06:27 -0500 Original-Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1ALlsy-0002Pw-IV for guile-devel@gnu.org; Mon, 17 Nov 2003 11:05:56 -0500 Original-Received: from [129.22.104.63] (helo=harris.CNS.CWRU.Edu) by mx20.gnu.org with esmtp (Exim 4.24) id 1ALkuN-00029P-Ds for guile-devel@gnu.org; Mon, 17 Nov 2003 10:03:19 -0500 Original-Received: from conversion-daemon.smtp-a.cwru.edu by smtp-a.cwru.edu (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) id <0HOI00C014E2FJ@smtp-a.cwru.edu> for guile-devel@gnu.org; Mon, 17 Nov 2003 10:02:51 -0500 (EST) Original-Received: from multivac.cwru.edu (multivac.ITS.CWRU.Edu [129.22.114.26]) by smtp-a.cwru.edu (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with SMTP id <0HOI007BN4GRC8@smtp-a.cwru.edu> for guile-devel@gnu.org; Mon, 17 Nov 2003 10:02:51 -0500 (EST) Original-Received: (qmail 22058 invoked by uid 500); Mon, 17 Nov 2003 15:03:13 +0000 In-reply-to: Original-To: Neil Jerram Mail-followup-to: Neil Jerram , Guile Development Mail-Copies-To: nobody User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) Original-Lines: 20 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:3041 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:3041 Neil Jerram wrote: > Is there any reason why the lazy-catch around the main REPL loop in > boot-9.scm could not be changed from > > (lazy-catch #t > (lambda () ) > lazy-handler-dispatch) > to > (lazy-catch #t > (lambda () ) > (lambda args > (apply lazy-handler-dispatch args))) > ? FWIW, the definition of lazy-handler-distpatch itself already looks a lot like that lambda. It appears that you can set default-lazy-handler inside the REPL to get the desired effect. paul _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel