[Haskell-cafe] newtype is superfluous

Bulat Ziganshin bulatz at HotPOP.com
Sat Oct 15 14:08:10 EDT 2005


Hello Lennart,

Saturday, October 15, 2005, 5:03:50 PM, you wrote:

LA> Alas, Haskell is more subtle than that.  Which is why newtype exists.

LA> Try
LA>         case A _|_ of A _ -> 1
LA> with the two versions of A to see the difference.

this have practical usage?? may be for such very special things
strictness annotation will be enough??

-- 
Best regards,
 Bulat                            mailto:bulatz at HotPOP.com





More information about the Haskell-Cafe mailing list