bug-guile
[Top][All Lists]
Advanced

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

Re: pk in boot-9.scm


From: Marius Vollmer
Subject: Re: pk in boot-9.scm
Date: Sun, 22 May 2005 19:56:24 +0300
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Bill Schottstaedt <address@hidden> writes:

> A less-than-ideal error message (abstracted from a much larger context):
>
>
> guile> (version)
> "1.7.2"
> guile> (+ pk 1.0) ; "pk" was a typo in the original code
>
> Backtrace:
> In standard input:
>     5: 0* [+ {#<procedure peek stuff>} 1.0]
>
> standard input:5:1: In procedure + in expression (+ pk 1.0):
> standard input:5:1: Wrong type argument in position 1: #<procedure peek stuff>
> ABORT: (wrong-type-arg)
> guile>

Can you propose a better error message?

> caused by ice-9/boot-9.scm line 225 -- perhaps pk could be moved to a
> debugging module or something.

What would be the advantage of this?

-- 
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3  331E FAF8 226A D5D4 E405




reply via email to

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