Popularity
6.2
Stable
Activity
0.0
Stable
11
2
4

Monthly Downloads: 47
Programming language: Haskell
License: MIT License
Tags: System    

pathwalk alternatives and similar packages

Based on the "System" category.
Alternatively, view pathwalk alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of pathwalk or a related project?

Add another 'System' Package

README

pathwalk

Some really simple path walking tools and utilities for Haskell.

module Main (main) where

import Control.Monad (forM_)
import System.Directory.PathWalk (pathWalk)
import System.Environment (getArgs)

main :: IO ()
main = do
  rawArgs <- getArgs
  let args = if rawArgs == [] then ["."] else rawArgs
  forM_ args $ \arg -> do
    pathWalk arg $ \root dirs files -> do
      putStrLn root
      putStrLn $ "  dirs: " ++ show dirs
      putStrLn $ "  files: " ++ show files