[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
filter and filter-out functions do they preserve order
From: |
Krzysztof Cieniuch |
Subject: |
filter and filter-out functions do they preserve order |
Date: |
Fri, 14 Aug 2009 17:55:42 +0100 |
User-agent: |
Thunderbird 2.0.0.22 (Windows/20090605) |
Hi,
Short question as in subject does filter function preserves original
elements order
I did some tests like:
org:= a b c d e
res:=$(filter a d c,$(org))
$(info $(res))
and this prints a c d so it looks like it preserves order but can I
relay on that
or is this just coincidence in my simple example ?
Thanks
Chris
- filter and filter-out functions do they preserve order,
Krzysztof Cieniuch <=