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

print-struct?



Is this a bug, or does print-struct not work like I think it should?

  Welcome to MzScheme version 199.21, Copyright (c) 1995-2001 PLT
  > (print-struct)
  #f
  > (define-struct foo (bar baz))
  > (make-foo 1 2)
  #<struct:foo>
  > (print-struct #t)
  > (make-foo 1 2)
  #<struct:foo>

Shouldn't it print the field values with print-struct turned on?

--Doug Orleans
dougo@ccs.neu.edu