There look to be two bugs related to ‘pprintall’:
-
Documentation: the syntax:
(pprintall item [stream] )
refers to anitem
argument, but the function only takes an optional stream. (Copy/paste bug from the documentation forpprint
?) -
In the implementation,
fn_pprintall
, the finalelse
branch sends the output topserial
rather than the streampfun
- the results are somewhat puzzling, depending on the current contents of the image:
if (consp(val) && symbolp(car(val)) && builtin(car(val)->name) == LAMBDA) { superprint(cons(bsymbol(DEFUN), cons(var, cdr(val))), 0, pfun); #if defined(CODESIZE) } else if (consp(val) && car(val)->type == CODE) { superprint(cons(bsymbol(DEFCODE), cons(var, cdr(val))), 0, pfun); #endif } else { superprint(cons(bsymbol(DEFVAR), cons(var, cons(quote(val), NULL))), 0, pserial); }
Thanks.