Text.ParserCombinators.ReadP: use NonEmpty in Final
The Final
constructor needed to maintain the invariant that the list
it is provided is always non-empty. Since NonEmpty is in base
now, I
think it would be better to use it for this purpose.
The Final
constructor needed to maintain the invariant that the list
it is provided is always non-empty. Since NonEmpty is in base
now, I
think it would be better to use it for this purpose.