Add inits1 and tails1
Adds inits1
and tails1
to Data.List.NonEmpty
as described in https://github.com/haskell/core-libraries-committee/issues/67. I've also added docs to inits
and tails
so that it's easier to see how they differ.
Adds inits1
and tails1
to Data.List.NonEmpty
as described in https://github.com/haskell/core-libraries-committee/issues/67. I've also added docs to inits
and tails
so that it's easier to see how they differ.