| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Development.Shake.Plus.Loaders
Synopsis
- batchLoad :: MonadAction m => Path b Dir -> [FilePattern] -> (Path b File -> m a) -> m (HashMap (Path Rel File) a)
- batchLoadWithin :: MonadAction m => Path b Dir -> [FilePattern] -> (Path b File -> m a) -> m (Within b (HashMap (Path Rel File) a))
- batchLoadWithin' :: MonadAction m => Path b Dir -> [FilePattern] -> (Path b File -> m a) -> m (HashMap (Within b (Path Rel File)) a)
Documentation
Arguments
| :: MonadAction m | |
| => Path b Dir | The directory to search in |
| -> [FilePattern] | A filepattern to match against. |
| -> (Path b File -> m a) | A |
| -> m (HashMap (Path Rel File) a) |
Load a directory of FilePatterns via some loading function. This should
be a newCache operation that takes full filepaths.
Arguments
| :: MonadAction m | |
| => Path b Dir | The directory to search in |
| -> [FilePattern] | A filepattern to match against. |
| -> (Path b File -> m a) | A |
| -> m (HashMap (Within b (Path Rel File)) a) |
Like batchLoadWithin', but returns a HashMap containing Within values instead of an Within of a Hashmap.