Hi,

On Thu, Jun 16, 2011 at 9:53 AM, kaffeepause73 <[email protected]> wrote:
> I try to create an own data type containing "Vector Double" from the H-Matrix
> package. The code:
>
> ##
>
> data PowerSig = PowerSig Int Double Vector Double

You need to put parenthesis around (Vector Double). Otherwise this is
interpreted as a constructor with 4 fields (instead of 3).

Johan

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to