Context
We write our programs in Haskell
We need to provide a main program,
main :: IO ()
We can use
getArgs :: IO [String]
We have functions to implement the desired functionality:
ls :: Bool -> [FilePath] -> IO ()
How to bridge the gap?