Is it possible to nest this kind of "continuation" (a -> b -> r)

PICCA Frederic-Emmanuel <[email protected]>
Newsgroups gmane.comp.lang.haskell.cafe
Message-ID <834539043.7327380.1713544163589.JavaMail.zimbra@synchrotron-soleil.fr>
Hello, I have this 

nest ∷ [(a → r) → r] → ([a] → r) → r 
nest xs = runCont (Prelude.mapM	cont xs)

but now I need this

nest2 ∷ [(a → b → r) → r] → ([a] → [b] → r) → r 
nest2 xs = ...

and this

nest3 :: ...

Do you think that there is a generic way to write all these nestX methodes.

thanks for your help

Frédéric
_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.