Thanks to all of you I got it I was missing the notation. Thanks again!
iliali16 wrote:
>
> Hi guys I am a bit new to haskell but I am doing good till now. I have to
> write a function that takes 2 inputs and then reutns one composite output.
> Now my problem is that I have to make composition
On 18 mar 2008, at 13.51, Luke Palmer wrote:
On Tue, Mar 18, 2008 at 12:24 PM, iliali16 <[EMAIL PROTECTED]> wrote:
Now the problem comes here:
play (p1 :>: p2) state
|play p1 state == (i1,state1) && play p2 state1 ==
(i2,state2)
= (i1+++i2,state2)
I know that if I manage t
On Tue, Mar 18, 2008 at 12:24 PM, iliali16 <[EMAIL PROTECTED]> wrote:
> Now the problem comes here:
> play (p1 :>: p2) state
> |play p1 state == (i1,state1) && play p2 state1 == (i2,state2)
> = (i1+++i2,state2)
>
> I know that if I manage to do that function the one above with this
Hi guys I am a bit new to haskell but I am doing good till now. I have to
write a function that takes 2 inputs and then reutns one composite output.
Now my problem is that I have to make composition of that function meaning
that I have to access in some way the output of the function before it is