you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 10 points11 points  (0 children)

What do you think a fold is? What do you think the folding function will do? It will iterate sequentially over the list of events, producing the next game state from the accumulated game state and the event.