
14 Feb
2010
14 Feb
'10
6:12 p.m.
Stephen Tetley wrote:
Hi Evan
Singleton (aka wrap) would be nice - isn't it called Pointed in the typeclassopedia but not otherwise existent? I suppose its missing by historical accident rather than design.
I frequently use Semigroup (append but no zero) - there is one on Hackage without any instances: http://hackage.haskell.org/package/algebra
I do too. I also wish there was an associative: class F f where k :: f a -> f a -> f a without the zero component. -- Tony Morris http://tmorris.net/