[Haskell-cafe] Re: Ignorant begginer question
jules at jellybean.co.uk
Fri Dec 24 10:14:34 EST 2004
On 24 Dec 2004, at 14:53, John Goerzen wrote:
> On 2004-12-23, Stefan Holdermans <sholderm at students.cs.uu.nl> wrote:
>> Your problem right now is that the type Complex takes (needs) a type
>> argument. Its definitions is (module strictness flags):
>> data Complex a = a :+ a
> What does the :+ mean here?
It's a data constructor, written infix. Infix constructors all begin
with ':', I think.
More information about the Haskell-Cafe