On Sat, Feb 23, 2013 at 10:58 PM, Kim-Ee Yeoh <ky3@atamo.com> wrote:
On Sat, Feb 23, 2013 at 7:27 AM, xiao Ling <lingxiao@seas.upenn.edu> wrote:there seems to be a reservation about "unwrapping the value from the monad", which I don't get.How do you define a function of signature h :: M Int -> M Int -> M Int so that h ( M x ) ( M y ) = M ( x + y ), but without unwrapping the value from the monad?