Tue, 18 Jan 2000 12:44:57 +0300 (MSK), S.D.Mechveliani <[EMAIL PROTECTED]> pisze:

> By the way, the  List.partition  definition
>                          \p xs -> (filter p xs, filter (not .p) xs)
> 
> is not it the simplest and the best implementation?

It evaluates p twice on each element.

-- 
 __("<    Marcin Kowalczyk * [EMAIL PROTECTED] http://qrczak.ids.net.pl/
 \__/              GCS/M d- s+:-- a22 C+++$ UL++>++++$ P+++ L++>++++$ E-
  ^^                  W++ N+++ o? K? w(---) O? M- V? PS-- PE++ Y? PGP+ t
QRCZAK                  5? X- R tv-- b+>++ DI D- G+ e>++++ h! r--%>++ y-

Reply via email to