2012/3/5 Helmut Rohrbacher <[email protected]> > Danny & Matthias, > > I hadn't known about structure properties. I think lumping enough > syntactic sugar onto your syntax definitions, Matthais, might make it > feasible to reproduce something to provide the functionality I'm looking > for. > > The only thing is, how do you extend these properties to built-in types > like LIST and VECTOR? I'm guessing that you'd need to wrap them in a > user-defined type... >
Or use structure properties to turn them into sequences (and then use for and friends). http://docs.racket-lang.org/reference/sequences.html?q=sequence%20property#(def._((lib._racket/private/base..rkt)._prop~3asequence)) -- Jens Axel Søgaard
____________________ Racket Users list: http://lists.racket-lang.org/users

