From b26dd3d9b09def08ffbcd15067c2ea3eeed76a42 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Fri, 19 Feb 2016 22:55:30 -0800 Subject: [PATCH] lib: fix timedot comments --- hledger-lib/Hledger/Read/TimedotReader.hs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/hledger-lib/Hledger/Read/TimedotReader.hs b/hledger-lib/Hledger/Read/TimedotReader.hs index 7d692f0e4..ef1c80732 100644 --- a/hledger-lib/Hledger/Read/TimedotReader.hs +++ b/hledger-lib/Hledger/Read/TimedotReader.hs @@ -1,6 +1,6 @@ {-| -A reader for the new "timedot" file format (tentative name). +A reader for the "timedot" file format. Example: @ @@ -9,13 +9,13 @@ Example: # on 2/1, 1h was spent on FOSS haskell work, 0.25h on research, etc. 2/1 -fos.haskell .... .. -biz.research . -inc.client1 .... .... .... .... .... .... +fos.haskell .... .. +biz.research . +inc.client1 .... .... .... .... .... .... 2/2 -biz.research . -inc.client1 .... .... .. +biz.research . +inc.client1 .... .... .. @ @@ -58,7 +58,7 @@ reader = Reader format detect parse format :: String format = "timedot" --- | Does the given file path and data look like it contain this format ? +-- | Does the given file path and data look like it might contain this format ? detect :: FilePath -> String -> Bool detect f _s | f /= "-" = takeExtension f == '.':format -- from a file: yes if the extension matches the format name