[Haskell-cafe] Pointed, but not Applicative

Conal Elliott conal at conal.net
Tue Aug 30 18:42:09 CEST 2011


I suspect this definition is what Sebastian meant by "converting back and
forth to ordinary lists".

2011/8/29 Ryan Ingram <ryani.spam at gmail.com>

>
>
> On Sun, Aug 28, 2011 at 8:24 PM, Maciej Marcin Piechotka <
> uzytkownik2 at gmail.com> wrote:
>
>> f `fmap` FList g = _|_
>> f `fmap` FList g = map id
>> f `fmap` FList g = map _|_
>> (+ variation of _|_*)
>>
>
> f `fmap` FList g = \bs -> map f (g []) ++ bs
>
>
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110830/d8d36ca2/attachment.htm>


More information about the Haskell-Cafe mailing list