[Haskell-cafe] Encapsulation in Haskell

Creighton Hogg wchogg at login01.hep.wisc.edu
Thu Dec 22 15:47:16 EST 2005

Hi guys,
So one of the big things in object oriented programming is 
encapsulation, and I'm wondering how to do it properly in 
Haskell.  How do you define new data types but minimize the 
dependence of external packages on the exact nature of the 
data definition?

More information about the Haskell-Cafe mailing list