packages feed

dhall-1.21.0: dhall-lang/Prelude/List/last

{-
Retrieve the last element of the list

Examples:

```
./last Natural [ 0, 1, 2 ] = Some 2

./last Natural ([] : List Natural) = None Natural
```
-}
let last : ∀(a : Type) → List a → Optional a = List/last in last