
11 Feb
2008
11 Feb
'08
7:23 p.m.
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?