Now that there's a [NonEmptyArray](https://pursuit.purescript.org/packages/purescript-arrays/4.3.0/docs/Data.Array.NonEmpty#t:NonEmptyArray), these functions should be updated.