Thanks for the reply - since you mentioned that it should work I figured there must’ve been a mistake somewhere else.
Looking closer I realised that when I copied & pasted the definition for (<) to the rest of the functions and the problem actually occurred at
...
max a b = max (size a) (size b)
min a b = min (size a) (size b)
…
which has return type of Double where it should be Cycle.
Regards,
Nicolaas
_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners