Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data FileWatcher = FileWatcher {
- newFiles :: Event FilePath
- deletedFiles :: Event FilePath
- changedFiles :: Event FilePath
- cleanUpAndClose :: IO ()
- mergeWatchers :: FileWatcher -> FileWatcher -> FileWatcher
Documentation
data FileWatcher Source
A type for watching a directory based on functional reactive programming At the core of this class are three event streams:
FileWatcher | |
|
mergeWatchers :: FileWatcher -> FileWatcher -> FileWatcher Source
Merge two watchers that are watching different directories