(struct m-value (raw interp flag)) (provide (struct-out m-value)) just like before.
Jay 2011/3/25 Gregory Woodhouse <[email protected]>: > I'm accustomed to using the following syntax to define structure types in a > module > > (define-struct m-value (raw interp flag)) > (provide (struct-out m-value)) > > but I see that the documentation (Reference, sec. 4.1) says that the form > define-struct is provided for backward compatibility, and struct should be > used instead. That seems to work in the context of a single module, but I'm > unsure how to expoert the various constructors, accessors, etc. without using > define-struct. hat is the proper way to make structure definitions available > outside the module? > _________________________________________________ > For list-related administrative tasks: > http://lists.racket-lang.org/listinfo/users > -- Jay McCarthy <[email protected]> Assistant Professor / Brigham Young University http://faculty.cs.byu.edu/~jay "The glory of God is Intelligence" - D&C 93 _________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

