Beginners Digest, Vol 33, Issue 31

2011-03-23 Thread beginners-request
Send Beginners mailing list submissions to beginners@haskell.org To subscribe or unsubscribe via the World Wide Web, visit http://www.haskell.org/mailman/listinfo/beginners or, via email, send a message with subject or body 'help' to beginners-requ...@haskell.org You can r

Beginners Digest, Vol 33, Issue 32

2011-03-23 Thread beginners-request
learning rule.) I figured I could use a comonad containing the current and previous values of i and o, a function that takes both and returns the new value, and let cobind shuffle them along. It didn't work though because I wasn't allowed to say: instance Comonad (a,a) where ... Apparently instanc