Re: [racket] providing cstructs

2013-03-09 Thread Pierpaolo Bernardi
On Sat, Mar 9, 2013 at 6:22 PM, Neil Toronto wrote: > I think you could also define the cstruct in a submodule, provide it using > `all-defined-out', and re-provide it from the enclosing module using > `all-from-out'. Ah, yes, that would have been another possibility. Thanks. __

Re: [racket] providing cstructs

2013-03-09 Thread Neil Toronto
On 03/09/2013 02:08 AM, Pierpaolo Bernardi wrote: On Sat, Mar 9, 2013 at 9:32 AM, Tobias Hammer wrote: (struct-out id), not _id still works. Only the 'special' names like _id, _id-pointer etc. are not included. Exactly what I needed, thanks! You have spared me a weekend of typing. 8^) I t

Re: [racket] providing cstructs

2013-03-09 Thread Pierpaolo Bernardi
On Sat, Mar 9, 2013 at 9:32 AM, Tobias Hammer wrote: > (struct-out id), not _id still works. Only the 'special' names like _id, > _id-pointer etc. are not included. Exactly what I needed, thanks! You have spared me a weekend of typing. 8^) Racket Users list: http://list

Re: [racket] providing cstructs

2013-03-09 Thread Tobias Hammer
(struct-out id), not _id still works. Only the 'special' names like _id, _id-pointer etc. are not included. Tobias On Sat, 09 Mar 2013 09:24:02 +0100, Pierpaolo Bernardi wrote: Hello, I understand that there isn't an abbreviation equivalent to (provide (struct-out ...)), but for cstruc

[racket] providing cstructs

2013-03-09 Thread Pierpaolo Bernardi
Hello, I understand that there isn't an abbreviation equivalent to (provide (struct-out ...)), but for cstructs? Is this correct? (I have a cstrut with 62 fields to provide. Both readers and setters... 8^) P. Racket Users list: http://lists.racket-lang.org/users