make a good default instead of maybe

This commit is contained in:
Dennis Frieberg 2020-09-06 02:13:02 +02:00
parent bbba794612
commit 58e9e6c16c

View file

@ -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'