Re: can this be written more easily?

2003-02-21 Thread Mike T. Machenry
I guess I figured that Arrays were the natural data type for the tickets since it has a fixed size and the elements all have a specific player associated with them. I am coming from a Scheme background so I am already very fluent in list manipulation. I'm not an imperative programer, so that's no

Re: can this be written more easily?

2003-02-21 Thread Nils Decker
"Mike T. Machenry" <[EMAIL PROTECTED]> wrote: > Hey Everyone, > > I am having a hard time making a data structure that I can > incrimentally > update. Mostly because dealing with arrays is so tough. Does anyone > think I'm going about this completely the wrong way? This is what I > have. IMO t

can this be written more easily?

2003-02-20 Thread Mike T. Machenry
Hey Everyone, I am having a hard time making a data structure that I can incrimentally update. Mostly because dealing with arrays is so tough. Does anyone think I'm going about this completely the wrong way? This is what I have. data GameState = GameState { dTickets :: Array Player (Array T