[team-spider-ewb] Re: Full names

i'm doing comp1100 assignment ......en .....question  why the updateRow works, 
but the updte one doesn't work??
 
type Row = [State]
updateRow (state:states) x
                | x == 0 = next state :states
                | otherwise = state : updteRow states (x-1)
update :: Grid -> Point -> Grid
update (row:rows) (x,y)
           | y == 0 = updateRow :rows
           | otherwise = row : update rows (x,y-1)        

----- Original Message -----
From: Shangzhuo Jiang <u5020932@xxxxxxxxxx>
Date: Friday, April 1, 2011 8:41 am
Subject: [team-spider-ewb] Re: Full names
To: team-spider-ewb@xxxxxxxxxxxxx


Thanks pramod!

----- Original Message -----
From: Pramod Dematagoda <pmd.lotr.gandalf@xxxxxxxxx>
Date: Friday, April 1, 2011 8:38 am
Subject: [team-spider-ewb] Re: Full names
To: team-spider-ewb@xxxxxxxxxxxxx

> His full name's Cameron Simpson.
> 
> On Thu, 2011-03-31 at 23:24 +1100, Shangzhuo Jiang wrote:
> > Shangzhuo Jiang. what is cameron's last name please??
> > 
> > 
> > ----- Original Message -----
> > From: Edward <u4747960@xxxxxxxxxx>
> > Date: Thursday, March 31, 2011 10:06 pm
> > Subject: [team-spider-ewb] Re: Full names
> > To: "team-spider-ewb@xxxxxxxxxxxxx" <team-spider-
> ewb@xxxxxxxxxxxxx>> 
> > > Liu Yang.      :)Edward
> > > 
> > > Sent from my iPhone
> > > 
> > > On 31/03/2011, at 8:31 PM, Pramod Dematagoda 
> > > <pmd.lotr.gandalf@xxxxxxxxx> wrote:
> > > 
> > > > Hey guys,
> > > > As talked about today morning, my name is Pramod 
> Dematagoda. Can
> > > > everyone else please give their full names too?
> > > > 
> > > > Cheers,
> > > > Pramod
> > > > 
> > > > 
> > > 
> 
> 
> 

Other related posts: