You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using purescript-nonempty, the signature of group could be changed from
group::foralla. Eqa=>Lista->List (Lista)
to
group::foralla. Eqa=>Lista->List (NonEmptyLista)
I believe this is not just more descriptive, but also useful because it helps people to avoid unsafePartial <<< Data.List.Partial.head or similar constructions.
On the downside, it pulls in the purescript-nonempty dependency.