[Haskell-beginners] Looking for a data structure
levi.stephen at gmail.com
Mon Sep 15 19:11:27 EDT 2008
I'm looking for how best to represent selections from a set of items.
For example, consider a soccer/football type game.
You would have a Player data type. The game would store a player pool of all
players in that game. Each club will have a number of players from that
player pool, each match will involve that club selecting a number of players
from its list of players.
What is the best way to structure this data and hopefully at the type level
enforce this subset type relationship?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Beginners