Scrapbook-0.4.0: code examples
Copyright© Frank Jung 2020
LicenseGPL-3
Safe HaskellSafe-Inferred
LanguageHaskell2010

MyPenultimate

Description

Get the penultimate of a list.

Synopsis

Documentation

penultimate :: [a] -> Maybe a Source #

Get second to last element of a list.