[Haskell-cafe] Re: Converting IO [XmlTree] to [XmlTree]

Martijn van Steenbergen martijn at van.steenbergen.nl
Tue Apr 28 03:47:57 EDT 2009


Steffen Schuldenzucker wrote:
> Uhm, isn't it:
> 
> class (Functor f) => Pointed f where
>     pure :: a -> f a -- singleton, return, unit etc.
> 
> Got it from: The Typeclassopedia by Brent Yorgey (forgot the URL, sorry)

Yes, but also: http://thread.gmane.org/gmane.comp.lang.haskell.cafe/54685

So maybe functor is not strictly more powerful than pointed and vice 
versa. I don't know.

Martijn.


More information about the Haskell-Cafe mailing list