Re: 1.3 PreludeList _____By functions' restricted type

1995-12-21 Thread Philip Wadler
Alistair, I agree with Mike Gunter on this one. -- P > Mike Gunter writes: >The By functions in the 1.3 PreludeList (elemBy, deleteBy, etc.) >all take ``equality'' predicates with type a -> a -> Bool. Most of >these functions (with no change in definition that I see in a quick

Re: 1.3 PreludeList _____By functions' restricted type

1995-12-20 Thread reid-alastair
Mike Gunter writes: The By functions in the 1.3 PreludeList (elemBy, deleteBy, etc.) all take ``equality'' predicates with type a -> a -> Bool. Most of these functions (with no change in definition that I see in a quick check) could take predicates with type a -> b > Bool (with

1.3 PreludeList _____By functions' restricted type

1995-12-20 Thread Mike Gunter
The By functions in the 1.3 PreludeList (elemBy, deleteBy, etc.) all take ``equality'' predicates with type a -> a -> Bool. Most of these functions (with no change in definition that I see in a quick check) could take predicates with type a -> b > Bool (with a corresponding change in the ty