Sergey:

> Maybe.  
> I propose for  Haskell-2  to add to the library
> 
>   delBy :: (a -> Bool) -> [a] -> [a]
>   delBy _ []     = []
>   delBy p (a:as) = if  p a  then  as  else  a:(delBy p as) 

So what do you propose as the definition for

del :: (Eq a) => [a] -> [a]

?

Section 7.6 of the Library Report:

"By convention, overloaded functions have a non-overloaded counterpart whose name is 
suffixed with ``By''."

--KW 8-)
-- 
: Keith Wansbrough, MSc, BSc(Hons) (Auckland) -------------------:
: PhD Student, Computer Laboratory, University of Cambridge, UK. :
: Native of Antipodean Auckland, New Zealand: 174d47'E, 36d55'S. :
: http://www.cl.cam.ac.uk/users/kw217/ mailto:[EMAIL PROTECTED] :
:----------------------------------------------------------------:


Reply via email to