error vs Maybe in Collections package

David F. Place d at vidplace.com
Tue Jun 6 09:57:46 EDT 2006


It bothers me that the functions findMin, findMax, deleteFindMin and  
deleteFindMax are error when applied to the empty set in various  
types of collections.   Shouldn't they return Maybe?

--------------------------------
David F. Place
mailto:d at vidplace.com



More information about the Libraries mailing list