At Fri, 27 Jan 2012 18:41:27 -0300, Paul Leger wrote: > > Hi all, > A simple question. I try typing the following example > (module nest racket > (provide (struct-out egg)) > (struct egg (color wt))) > > in this way > (module nest typed/racket > (provide (struct-out egg)) > (struct: egg ([color : String] [wt : Number]))) > > But I get: > module: identifier already provided (as a different binding) in: egg
`struct:' does not work well with struct exports yet. `define-struct:' should work. Vincent ____________________ Racket Users list: http://lists.racket-lang.org/users

