We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca03b58 commit 16a26bfCopy full SHA for 16a26bf
app/Main.hs
@@ -27,7 +27,7 @@ main = do
27
run webPort $ app $ ToodlesState ref dataDir
28
29
prettyFormat :: TodoEntry -> String
30
-prettyFormat (TodoEntryHead _ l a p n entryPriority f _ _ _) =
+prettyFormat (TodoEntryHead _ l a p n entryPriority f _ _ _ _ _ _) =
31
printf
32
"Assignee: %s\n%s%s:%d\n%s - %s"
33
(fromMaybe "None" a)
@@ -36,4 +36,4 @@ prettyFormat (TodoEntryHead _ l a p n entryPriority f _ _ _) =
36
n
37
(show f)
38
(unlines $ map T.unpack l)
39
-prettyFormat (TodoBodyLine _) = error "Invalid type for prettyFormat"
+prettyFormat a = error "Invalid type for prettyFormat: " ++ show a
0 commit comments