[Haskell-beginners] Couldn't match expected type ‘IO ()’ with actual type [Integer]

YCH dontdieych at gmail.com
Fri Feb 6 06:06:34 UTC 2015


Hello, Roelof.

Your function is done. But it should be named 'toDigitsReversed' or so. 
So if you could write another 'reverse' function then you can compose 
like this.

toDigits = reverse . toDigitsReversed

-- 
YCH



More information about the Beginners mailing list