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