[Haskell-cafe] Newbie question: Why gfoldl has this strange type?

Ryan Ingram ryani.spam at gmail.com
Thu Aug 30 19:57:58 EDT 2007


Just so nobody else has to look it up:
Data.Generics.Basics.gfoldl :: Data a => (c (a -> b) -> a -> c b) -> (g -> c
g) -> a -> c a

  -- ryan


On 8/30/07, Rodrigo Geraldo <rodrigogribeiro at gmail.com> wrote:
>
> Hi!
>
> I am a novice in Haskell, and particularly I have interested in generic
> programming. This interest motivated me to read paper Scrap your
> boilerplate: A practical design pattern for generic programming, but I
> didn't understand the type of the function gfoldl, that was present in class
> Term (Data). Somebody could help me to understand the type of this function?
>
> Thanks...
>
> Rodrigo
>
> _______________________________________________
> 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/20070830/32f05b8c/attachment.htm


More information about the Haskell-Cafe mailing list