Copyright | © Frank Jung 2020 |
---|---|
License | GPL-3 |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
MyPenultimate
Description
Get the penultimate of a list.
Synopsis
- penultimate :: [a] -> Maybe a
Documentation
penultimate :: [a] -> Maybe a Source #
Get second to last element of a list.