Use #:transparent in the struct declaration.

Robby

On Monday, November 4, 2013, Norman Ramsey wrote:

>  > I think you will find "#lang racket" the best language for writing
>  > teachpacks.
>
> Using "#lang racket" I have successfully create a package, installed
> it, and require'd it.  But when I print a structure defined in my
> package, the arguments don't print:
>
>    > (require geo)
>    > (length geonames)
>    10150
>    > (first geonames)
>    (make-usgs ...)
>    >
>
> I want my students to see the actual arguments rather than ..., as
> they would if I had used `define-struct` in ISL.  Is there a
> relatively easy way to achieve this?
>
>
> Norman
> ____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users
>
____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to