index
:
h99.git
master
Haskell 99 problems
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
p1.hs
blob: 3afd512dd6001a1c6902e7775011536a1ca0b8b4 (
plain
)
1
2
3
4
5
myLast :: [a] -> a myLast [] = error "Empty List" myLast [x] = x myLast (x:xs) = myLast xs