tags:

views:

69

answers:

1
 maxZyklus :: UntereGrenze -> ObereGrenze -> (UntereGrenze,ObereGrenze,MaxZyklaenge)
 maxZyklus m n = if m > n then (m,n,0) else if m == n then 
                         (m,n,length(func m)
                         else 
                         (m,n,length(func m)
 type UntereGrenze = Integer
 type ObereGrenze  = Integer
 type MaxZykLaenge = Integer

i get a parse error on input else that second one Where could the problem be ?

+3  A: 

You are missing two )'s.

(m,n,length(func m)

should be

(m,n,length(func m))
Justice
thank you this was it
marco