mylength :: [a] -> Integer mylength = toInteger . length
is the same as :
mylength :: [a] -> Integer mylength = genericLength
Dammit, I knew there had to be a builtin function for it :( -Luke