geiser-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Geiser-users] Rational number causes Geiser's Guile REPL to enter debug


From: Mark Harig
Subject: [Geiser-users] Rational number causes Geiser's Guile REPL to enter debugger
Date: Thu, 10 Feb 2011 00:28:57 -0500

If a rational number, say 5/9 or 1/2, is entered at the Guile REPL
prompt outside of the Geiser/Emacs environment, then the REPL
responds with that number:

$ guile -q
GNU Guile 1.9.15
Copyright (C) 1995-2010 Free Software Foundation, Inc.

Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.

Enter `,help' for help.
scheme@(guile-user)> 5/9
$1 = 5/9
scheme@(guile-user)> 1/2
$2 = 1/2

However, if a rational number is entered at the REPL prompt
(in the * Guile REPL * buffer), then the Guile debugger is invoked
sixteen levels deep:

GNU Guile 1.9.15
Copyright (C) 1995-2010 Free Software Foundation, Inc.

Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.

Enter `,help' for help.
scheme@(guile-user)> 5/9
$1 = 5/9
scheme@(guile-user) [16]> ,q
scheme@(guile-user) [15]> ,q
scheme@(guile-user) [14]> ,q
scheme@(guile-user) [13]> ,q
scheme@(guile-user) [12]> ,q
scheme@(guile-user) [11]> ,q
scheme@(guile-user) [10]> ,q
scheme@(guile-user) [9]> ,q
scheme@(guile-user) [8]> ,q
scheme@(guile-user) [7]> ,q
scheme@(guile-user) [6]> ,q
scheme@(guile-user) [5]> ,q
scheme@(guile-user) [4]> ,q
scheme@(guile-user) [3]> ,q
scheme@(guile-user) [2]> ,q
scheme@(guile-user) [1]> ,q
scheme@(guile-user)>

The second time that the rational number is entered at the REPL prompt,
it is evaluated properly:

scheme@(guile-user)> 5/9
$2 = 5/9
scheme@(guile-user)>

--



reply via email to

[Prev in Thread] Current Thread [Next in Thread]