-- | @'take' n xs@ returns the first @n@ elements of @xs@.
take :: Int -> NonEmpty a -> [a]
take n = List.take n . toList
take :: Int -> NonEmpty a -> [a]
take n = List.take n . toList
take n = List.take n . toList