Merge pull request #6 from asr/master
Fixed documentation and buggy example
This commit is contained in:
commit
200bc23246
2 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@
|
|||
-- Because 'FindClause' is a monad, you can use the usual monad
|
||||
-- machinery to, for example, lift pure functions into it.
|
||||
--
|
||||
-- Here's a clause that will return 'False' for any file whose
|
||||
-- Here's a clause that will return 'True' for any file whose
|
||||
-- directory name contains the word @\"temp\"@.
|
||||
--
|
||||
-- @
|
||||
|
|
|
@ -33,7 +33,7 @@ renameCppToC path = find always (extension ==? ".cpp") path >>=
|
|||
|
||||
noRCS :: RecursionPredicate
|
||||
|
||||
noRCS = (`elem` ["_darcs","SCCS","CVS",".svn",".hg",".git"]) `liftM` fileName
|
||||
noRCS = (`notElem` ["_darcs","SCCS","CVS",".svn",".hg",".git"]) `liftM` fileName
|
||||
|
||||
cSources :: FilePath -> IO [FilePath]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue