3 ms·
I pulled the Euterpea source from the website and tried the tutorial in GHCi 7.0.4. It complained that the definition of times (n+1) m is invalid. If anyo
by sharkbot 14y ago
I pulled the Euterpea source from the website and tried the tutorial in GHCi 7.0.4. It complained that the definition of
times (n+1) m
is invalid.
If anyone is trying out the tutorial and gets the same error, replace that definition of "times" with
times n m = m :+: (times (n-1) m)
and you should be good.