Bill Schottstaedt <[EMAIL PROTECTED]> 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


_______________________________________________
Bug-guile mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-guile

Reply via email to