[plt-scheme] request: itemized display of expected arguments on error

From: Robby Findler (robby at cs.uchicago.edu)
Date: Thu Jul 15 07:26:12 EDT 2004

At Thu, 15 Jul 2004 04:16:32 -0400, Terrence Brannon wrote:
> I had a function which expected 2 arguments receive 3 arguments. 
> mzscheme listed the arguments that the function got, but
> 
> a/ it did not list each argument in its entirety

See the error-print-width parameter.

> b/ I cannot tell where 1 argument ends and the next begin (see sample 
> output)

For the moment, you have to match the parens yourself, or look for an
ellipses. The first argument is the symbol '*TOP*. The second is a big
sexp and the third is a string "\n".

Robby


Posted on the users mailing list.