On Sun, 5 Mar 2017, Vladislav Zavialov wrote:
Since 'Data.List.NonEmpty' is now in 'base', it makes sense to change
the type of 'some' from
some :: Alternative f => f a -> f [a]
to
some :: Alternative f => f a -> f (NonEmpty a)
as it's guaranteed to return a non-empty list.
A less invasive way would be to add a new function with that type.
_______________________________________________
Libraries mailing list
Libraries@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries