Subsumption in partially ordered sets

2003-11-17 Thread Graham Klyne
I have a need for an algorithm to perform subsumption on partially ordered sets of values. That is, given a selection of values from a partially ordered set, remove all values from the collection that are less than some other member of the collection. Below is some code I have written, which

Subsumption in partially ordered sets

2003-11-17 Thread Tom Pledger
Graham Klyne writes: : | Below is some code I have written, which works, but I'm not sure | that it's especially efficient or elegant. Are there any published | Haskell libraries that contain something like this? Hi. Partially ordered sets are in cahoots with lattices, so you may be

Re: Subsumption in partially ordered sets

2003-11-17 Thread rvollmert-lists
I have a need for an algorithm to perform subsumption on partially ordered sets of values. That is, given a selection of values from a partially ordered set, remove all values from the collection that are less than some other member of the collection. That is, you want the maxima, right? The

There is flexible exception handling in Haskell?

2003-11-17 Thread 7253146
Hi all. I am porting to Haskell a small zlib-based library for .zip files (I have not seen any released package for it, although it should very useful). The matters come when I try to address exceptional conditions: all the library functions return a integer code with OK/SOMEERROR meaning. The

There is flexible exception handling in Haskell?

2003-11-17 Thread 7253146
Hi all. I am porting to Haskell a small zlib-based library for .zip files (I have not seen any released package for it, although it should very useful). The matters come when I try to address exceptional conditions: all the library functions return a integer code with OK/SOMEERROR meaning. The

Re: There is flexible exception handling in Haskell?

2003-11-17 Thread Bernard James POPE
Hi all. I am porting to Haskell a small zlib-based library for .zip files (I have not seen any released package for it, although it should very useful). The matters come when I try to address exceptional conditions: all the library functions return a integer code with OK/SOMEERROR meaning.