From: transfire@... Date: 2006-06-02T12:56:59+09:00 Subject: Re: An alternative to the class Foo < Struct.new(vars) idiom and SuperStruct Hal Fulton wrote: > That's another example of why I would like a data structure > that 1) had a convenient notation for literals and 2) was > "like" a Hash, but ordered. Facet's has Association which gives one something quite like that. [ :a >> 1, :b >> 2 ] Of course it does take over the #>> operator, so it can't be used inside any class that defines it. But that's not a big deal. It just means you can't _extend_ the following classes with code that uses an Association. Bignum Fixnum Date IPAddr Process::Status T.