Skip to content

Add inits1 and tails1

hdgarrood requested to merge hdgarrood/ghc:hdgarrood/inits1-tails1 into master

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.

Merge request reports