
29 Apr
2015
29 Apr
'15
9:52 a.m.
Cough - I meant semigroups introduces a NonEmpty list type.
On 29 April 2015 at 14:51, Stephen Tetley
Empty lists are problematic if you want a mconcat like operation.
Edward Kmett's semigroups package introduces an EmptyList type to avoid this (the downside being it introduces an EmptyList type).
If you don't want an mconcat like operation then Semigroup only has one useful operation (<>).
On 29 April 2015 at 14:13, David Feuer
wrote: What's problematic about empty lists for semigroups?