
6 Jun
2016
6 Jun
'16
7:54 a.m.
Am 06/06/2016 um 12:42 PM schrieb Erik Hesselink:
do r1 <- m1 r2 <- m2 return (r1 && r2)
Erik
On 6 June 2016 at 11:11, martin
wrote: Applicative does the trick. But using do-notation was my first attempts, but I could not figure it out. Can you see how to do this (other than using `ap`)?
I thought this was what I tried, but I must have made a silly mistake somewhere. After your reassurance it works. Thanks.