add gitignore

This commit is contained in:
千住柱間 2025-09-12 21:38:25 -04:00
commit bbe2bf2cef
Signed by: hashirama
GPG key ID: 53E62470A86BC185
6 changed files with 12 additions and 19 deletions

12
.gitignore vendored Normal file
View file

@ -0,0 +1,12 @@
# .gitignore
*~
*#
.#*
*rej
*orig
pinentry*
*.hi
*.o
*.a

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -1,19 +0,0 @@
module Wazahs (
) where
-- imports
import qualified Data.Conduit.Combinators as CC
import Data.Conduit
import System.Environment (getArgs)
import System.FilePath (takeExtension)
import Conduit
-- | Recursively list all files in the given directory with .mdx extension.
listFiles :: FilePath -> IO [FilePath]
listFiles dir = runConduitRes $
CC.sourceDirectoryDeep False dir
.| filterC (\fp -> takeExtension fp == ".mdx")
.| sinkList

Binary file not shown.