about summary refs log tree commit diff
path: root/scratch/groceries/export.hs
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-07-01T09·45+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-07-01T09·45+0100
commit011f7aeaecd716cb2cb94b7fa0d19be86d81cf0a (patch)
treeaf4b68ab1d1876050023bd70d45c0cdca46d29f9 /scratch/groceries/export.hs
parentee1aeee5f8536c35fb9f1580174facd33698ad50 (diff)
Convert grocery list to an .org file
Ensure that the export.hs script refers to the .org file.
Diffstat (limited to 'scratch/groceries/export.hs')
-rw-r--r--scratch/groceries/export.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/scratch/groceries/export.hs b/scratch/groceries/export.hs
index 5e2cce2237ee..c76033391d02 100644
--- a/scratch/groceries/export.hs
+++ b/scratch/groceries/export.hs
@@ -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 ()