index
:
h99
master
My solutions to ninety-nine Haskell problems.
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
1-10
/
1.hs
blob: 0d2f07a6cedb2c8ee10e05a8c31357744e58f6a3 (
plain
) (
blame
)
1
2
3
myLast
[]
=
error
"empty list"
myLast
[
x
]
=
x
myLast
(
_
:
xs
)
=
myLast
xs