Hello Bulat,

Monday, March 31, 2008, 1:16:35 AM, you wrote:

> if you can compare chars and 'a' < 'b', then *lists* of chars compared
> in lexicographic order will be

> "aaa" < "aab"
> "aab" < "aba"
> "baa" < "abb"

as it was mentioned by Niklas Broberg, the last sentence should be reversed:

"abb" < "baa"

sorry for +1 confusion :)


-- 
Best regards,
 Bulat                            mailto:[EMAIL PROTECTED]

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to