On Aug 8, 2007, at 11:16 AM, peterv wrote:

I’m having difficulty to understand what phantom types are good for. Is this
just for improving runtime performance?



I found phantom types to be useful in the implementation of bit-wise set operations. You can find the code Edison:

http://hackage.haskell.org/cgi-bin/hackage-scripts/package/ EdisonCore-1.2.1

in the Data.Edison.Coll.EnumSet module.

David F. Place
mailto:[EMAIL PROTECTED]


_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to