
11 Mar
2004
11 Mar
'04
12:40 p.m.
Ketil Malde wrote:
I think ascending is the most intuitive order, so how about something like: toList (ascending)
Yes.
and toListReversed (descending)
No, the next one then wants fromDescList and fromDistinctDescList (or fromReversedList). Let users reverse their lists. Maybe even (the current) "fromAscList" is not really necessary, because toList only produces proper distinct ascending lists.(Thus fromDistinctAscList can be renamed to fromAscList.) Christian