Safe Haskell | None |
---|---|
Language | Haskell2010 |
- getDirectoryContentsRecursive :: FilePath -> IO (AnchoredDirTree ())
- isHaskellSource :: DirTree t -> Bool
- pretty :: Pretty a => a -> Doc
- putDoc :: Doc -> IO ()
- module System.Directory.Tree
Documentation
getDirectoryContentsRecursive :: FilePath -> IO (AnchoredDirTree ()) Source #
isHaskellSource :: DirTree t -> Bool Source #
The action (putDoc doc)
pretty prints document doc
to the
standard output, with a page width of 100 characters and a ribbon
width of 40 characters.
main :: IO () main = do{ putDoc (text "hello" <+> text "world") }
Which would output
hello world
Any ANSI colorisation in doc
will be output.
module System.Directory.Tree