organization

This commit is contained in:
2024-12-06 13:37:00 -06:00
parent 3f658af00f
commit 4ae0829650
79 changed files with 0 additions and 5954 deletions

View File

@@ -0,0 +1,18 @@
module Main where
-- import Text.RE
-- Read a file line by line
readLines :: FilePath -> IO [String]
readLines = fmap lines . readFile
-- Example usage
main :: IO ()
main = do
let filePath = "./app/test.txt"
linesOfFile <- readLines filePath
mapM_ watchedURLS linesOfFile
watchedURLS :: String -> IO ()
watchedURLS line = do
putStrLn $ "Processing line: " ++ line

2294
source/download_hs/app/test.txt Executable file

File diff suppressed because it is too large Load Diff