tn-4.1.0.0: A simple daily journal program

Safe HaskellNone
LanguageHaskell2010

Tn.Journal

Description

Tn Journals

Synopsis

Documentation

mkEntry :: String -> IO Entry Source

Make an entry, using the current Time

addEntry :: Journal -> Entry -> Journal Source

Add an entry to a journal

Actually just a clever alias for snoc

readStdin :: IO (Either ParseException Journal) Source

Read a journal from stdin

readStdin' :: IO Journal Source

Read a journal from stdin, failing if the parse fails

readJournalFile :: FilePath -> IO Journal Source

Read a journal from a file

readJournal :: IO Journal Source

Read a journal from normal file

printJournal Source

Arguments

:: Journal

Journal to print

-> Bool

Whether or not to enable use of a pager.

-> IO () 

Print a journal

writeJournalFile :: Journal -> FilePath -> IO () Source

Write a journal to a file

writeJournal :: Journal -> IO () Source

Read a journal from normal file