You can make a 'smart' constructor function, and hide the real data
constructor so that it cannot be used:
Thanks! I'll give your solution a try.
--
Rich
AIM : rnezzy
ICQ : 174908475
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe