Convert grocery list to an .org file

Ensure that the export.hs script refers to the .org file.
This commit is contained in:
William Carroll 2020-07-01 10:45:28 +01:00
parent ee1aeee5f8
commit 011f7aeaec
2 changed files with 15 additions and 18 deletions

View file

@ -6,6 +6,6 @@ import qualified Data.List as L
-- | Run this to export the grocery list.
main :: IO ()
main = do
x <- readFile "./list.txt"
x <- readFile "./list.org"
x & lines & filter (not . L.isPrefixOf "- 0x") & unlines & putStrLn
pure ()