On Dec 12, 2006, at 12:53 PM, Louis J Scoras wrote:
On 12/12/06, Conal Elliott <[EMAIL PROTECTED]> wrote:
Try foo = liftM2, and check out the recent haskell thread "Cannot
understand
liftM2".
That's actually what I reached for first. The problem is that the
arguments aren't monads:
(...)
No instance for (Monad ((->) (String, String)))
Read the thread more completely; ((->) a) is indeed a monad, but you
need to include an additional module to get the definition.
--
brandon s. allbery [linux,solaris,freebsd,perl]
[EMAIL PROTECTED]
system administrator [openafs,heimdal,too many hats]
[EMAIL PROTECTED]
electrical and computer engineering, carnegie mellon university
KF8NH
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe