Hello,

One feature that we've been talking about for a while is the ability to refer 
to locals in collection literals and have "the right thing" happen. I.e.

        1 2 3 [| a b c | { a b c } ] call .

        { 1 2 3 }

Support for this is now available. Locals is a pretty complex vocabulary and 
each time we extend it there seems to be problem corner cases which pop up. 
I've tested this feature on basic examples but let me know if you find any 
quirks.

Currently you can refer to locals in literal forms of arrays, vectors, 
hashtables, and tuples.

Tuple example:

        1 2 3 4 [| a b c d | T{ rgba f a b c d } ] call

Hashtable example:

        1 2 3 [| a b c | H{ { "a" a } { "b" b } { "c" c } } ] call

Ed

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to