[Haskell-cafe] ANNOUNCE: vector-bytestring-

Christian Maeder Christian.Maeder at dfki.de
Mon Oct 17 11:38:47 CEST 2011

Am 17.10.2011 11:10, schrieb Ertugrul Soeylemez:
> So please, please, please, if you decide to use a newtype, do /not/ hide
> the constructor.

The better alternative to "not hiding the constructor" is to supply 
conversion functions that may or may not do more than the constructor 
and selector and are named accordingly. (This just disallows pattern 

Cheers Christian

> Greets,
> Ertugrul

More information about the Haskell-Cafe mailing list