* pk in boot-9.scm
@ 2005-05-01 11:50 Bill Schottstaedt
2005-05-22 16:56 ` Marius Vollmer
0 siblings, 1 reply; 2+ messages in thread
From: Bill Schottstaedt @ 2005-05-01 11:50 UTC (permalink / raw)
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>
caused by ice-9/boot-9.scm line 225 -- perhaps pk could be moved to a
debugging module or something.
_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: pk in boot-9.scm
2005-05-01 11:50 pk in boot-9.scm Bill Schottstaedt
@ 2005-05-22 16:56 ` Marius Vollmer
0 siblings, 0 replies; 2+ messages in thread
From: Marius Vollmer @ 2005-05-22 16:56 UTC (permalink / raw)
Cc: bug-guile
Bill Schottstaedt <bil@ccrma.Stanford.EDU> 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
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-05-22 16:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-01 11:50 pk in boot-9.scm Bill Schottstaedt
2005-05-22 16:56 ` Marius Vollmer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).