More `extra` patch faithful to interface
The current patch for extra
changes the interface for Data.List.NonEmpty.Extras
.
This module is meant to re-export Data.List.NonEmpty
but the patch restricts this to only NonEmpty(..), cons, fromList
.
My guess is that this was a mistake, but I'm not sure.
This MR restores the previous exports. I take the values from Data.List.NonEmpty
. I think it might make sense to get polymorphic variants from Data.Foldable
, let me know if I should do that instead
Edited by Teo Camarasu