"Richard A. O'Keefe" <[EMAIL PROTECTED]> writes:
> On the subject of data types, I've recently seen Haskell code using
> data Foo ... = Foo { ... }
> where I would have used newtype instead of data. When is it a good
> idea to avoid newtype?
When the code was written before newtype was introduced into
the language? Also when { ... } is not a single type.
--
Jón Fairbairn [EMAIL PROTECTED]
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe