make a good default instead of maybe
This commit is contained in:
parent
bbba794612
commit
58e9e6c16c
1 changed files with 2 additions and 3 deletions
|
@ -116,11 +116,10 @@ removePlayer = error "removePlayer not yet implemented (Franzi?)"
|
|||
toList :: TickLeiste -> [(Tick, [Player])]
|
||||
toList (TickLeiste l _) = M.toAscList l
|
||||
|
||||
-- | convert from list to TickLeiste, if a player is at multiple 'Tick' this returns
|
||||
-- 'Nothing'
|
||||
-- | convert from list to TickLeiste
|
||||
|
||||
-- TODO
|
||||
fromList :: [(Tick, [Player])] -> Maybe TickLeiste
|
||||
fromList :: [(Tick, [Player])] -> TickLeiste
|
||||
fromList = error "not implemented"
|
||||
|
||||
-- | convert from 'TickLeiste' to a map from 'Tick' to list of 'Player'
|
||||
|
|
Loading…
Reference in a new issue