I'm just started playing with L#; my project involves passing a
String[] to the interpreter. I'm forced to use Cons.FromArray or
Cons.FromICollection in this case, and I've figured out that those
functions return different results -- FromArray provides a valid Cons,
while FromICollection reverses it.
I can't understand, if it's a bug or it has some deeper meaning -- can
anyone clarify that?
Thanks!
ICollection implies an unordered collection; in fact, there is no
enumerator for it, so you shouldn't expect the objects in an
ICollection to be in any specific order.