[Haskell-cafe] Module visibility of data type constructors

Slavomir Kaslev slavomir.kaslev at gmail.com
Sun Nov 5 16:35:09 EST 2006


On 11/5/06, Stefan Holdermans <stefan at cs.uu.nl> wrote:
> > data T = D
>
> I wrote:
>
> > T is called a type constructor and is called a *data* constructor.
>
> and obviously meant:
>
> ... and D is called a *data* constructor.
>

Yes, you are right. I am newcomer to Haskell, coming from the C++
world, and I certainly lack proper Haskell-ish terminology.

I apologize for that.

-- 
Slavomir Kaslev


More information about the Haskell-Cafe mailing list