Re: [Factor-talk] Tuple syntax

2008-06-27 Thread Eduardo Cavazos
Slava Pestov wrote: > Here's another approach. It is kind of hackish, but I like it! Very nice. Get's my vote. > Otherwise, it is a series of name/value pairs: > > T{ color { "red" 123 } { "green" 100 } { "blue" 0 } } > T{ color f 123 100 0 } I'd like to express my support for a syntax like thi

[Factor-talk] Tuple syntax

2008-06-27 Thread Slava Pestov
Hi all, A while ago, Daniel implemented alternative syntax for tuples in extra/tuple-syntax. Instead of listing the slot values in order, you provide a series of name/value pairs; any names omitted are assumed to have a value of f. This syntax is more readable for tuples with a lot of slots, or wh