Like for simple team and game types
type team =
| Team(string);
type game1 =
| Game(team, team);
type game2 = {
team1: team,
team2: team,
};
- What is the difference between
game1
andgame2
? - In real world when to declare
type game
likegame1
or when to declare likegame2
? - Are there any other ways this thing can be defined in Reason?