Update fileStream.hs

This commit is contained in:
千住柱間 2025-05-29 03:20:05 +00:00
commit 0cead8c5d5

View file

@ -21,6 +21,7 @@ main :: IO ()
main = do
hSetEncoding stdout utf8
runSafeT $ runEffect $
for (every (descendentOf "/mnt/Data/Japanese_Resources/")) $ \fp ->
-- do a favor to yourself and please point to where the dictionaries actually are.
for (every (descendentOf "/mnt/Data/Japanese_Resources/Dictionaries/")) $ \fp ->
when (extension fp == Just "mdx") $
liftIO $ TIO.putStrLn $ T.pack $ encodeString fp