cleanup TODO.md a little

This commit is contained in:
2025-09-29 11:59:57 -07:00
parent f3a5e9012c
commit bab25f8dce
2 changed files with 8 additions and 8 deletions

View File

@@ -37,7 +37,7 @@ parseColor line = case split line " " of
-- FIXME implicit isn't being solved in time here.
parseDraw : String -> Either String Draw
parseDraw line =
case mapM {Either String} parseColor $ split line ", " of
case mapM parseColor $ split line ", " of
Right parts => Right $ foldl maxd (0,0,0) parts
Left err => Left err
@@ -47,7 +47,7 @@ parseGame line =
| _ => Left $ "No colon in " ++ line in
let ("Game" :: ns :: Nil) = split a " "
| _ => Left $ "No Game" in
let (Right parts) = mapM {Either String} parseDraw $ split b "; "
let (Right parts) = mapM parseDraw $ split b "; "
| Left err => Left err in
Right $ MkGame (toInt ns) parts