Re: [racket-dev] cstruct and properties

2012-11-12 Thread Tobias Hammer
On Sun, 11 Nov 2012 17:39:07 +0100, Matthew Flatt mfl...@cs.utah.edu wrote: At Wed, 7 Nov 2012 20:00:51 +0100, Tobias Hammer wrote: i am currently playing around with properties attached to cstructs and ran into some problems. Normally, with racket structs, i can access a property without

Re: [racket-dev] cstruct and properties

2012-11-11 Thread Matthew Flatt
At Wed, 7 Nov 2012 20:00:51 +0100, Tobias Hammer wrote: i am currently playing around with properties attached to cstructs and ran into some problems. Normally, with racket structs, i can access a property without an instance of the struct via the struct type descriptor (struct:S). There

Re: [racket-dev] cstruct and properties

2012-11-08 Thread Matthew Flatt
At Wed, 7 Nov 2012 20:00:51 +0100, Tobias Hammer wrote: i am currently playing around with properties attached to cstructs and ran into some problems. Normally, with racket structs, i can access a property without an instance of the struct via the struct type descriptor (struct:S). There

Re: [racket-dev] cstruct and properties

2012-11-08 Thread Matthew Flatt
At Thu, 8 Nov 2012 15:20:33 +0100, Tobias Hammer wrote: On Thu, 08 Nov 2012 14:55:21 +0100, Matthew Flatt mfl...@cs.utah.edu wrote: [ ... ] It's interesting that you can make that work in the current implementation, but I worry about guaranteeing that order for the future. I'm

[racket-dev] cstruct and properties

2012-11-07 Thread Tobias Hammer
Hi, i am currently playing around with properties attached to cstructs and ran into some problems. Normally, with racket structs, i can access a property without an instance of the struct via the struct type descriptor (struct:S). There seems to be nothing similar for cstructs, so the