I just added "operator in" which lets you say

x in C

where C is a list or array. Should be extended to varray and avl.
Precedence same as comparisons < > etc. Binds to function

fun mem[T]: T * C[T] -> bool

which I added to List and Array modules. There's a potential parsing conflict
with "let .. in .." but I haven't run into it yet.


--
john skaller
skal...@users.sourceforge.net





------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to