moved Aeson instances to tickLeiste
This commit is contained in:
parent
58a2662d2a
commit
ba8c620abe
3 changed files with 2 additions and 38 deletions
|
@ -130,6 +130,7 @@ tickLeisteToPlayerList :: M.Map U.UUID T.Text -> TL.TickLeiste -> [(TL.Tick, [(U
|
|||
tickLeisteToPlayerList pl = tickLeisteListToPlayerList pl . TL.toList
|
||||
|
||||
-- uff good luck reading that
|
||||
-- maybe it would be better to collect the UUID to Text map in a list and call M.fromList in the end?
|
||||
playerNameListToTickLeisteList :: [(TL.Tick, [T.Text])] -> IO ([(TL.Tick, [U.UUID])], M.Map U.UUID T.Text)
|
||||
playerNameListToTickLeisteList =
|
||||
foldM
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue