j
k
j a
j l
Roelof Wobben schreef op 10-11-2014 20:59:
last5 :: [a] -> Maybe a last5 = foldr acc Nothing where acc x Nothing = Just x acc _ j = j
When I enter this in GHCI I see this error : Illegal type signature: ‘[a] -> Maybe a last5’
Back to the thread
Back to the list