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
"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
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