packages feed

HStringTemplateHelpers 0.0.10 → 0.0.11

raw patch · 2 files changed

+15/−4 lines, 2 filesdep +FileManipCompatdep −FileManipdep ~basePVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependencies added: FileManipCompat

Dependencies removed: FileManip

Dependency ranges changed: base

API changes (from Hackage documentation)

- Text.StringTemplate.Helpers: directoryGroupNew' :: (Stringable a) => (FilePath -> Bool) -> (String -> Bool) -> FilePath -> IO (STGroup a)
+ Text.StringTemplate.Helpers: directoryGroupNew' :: Stringable a => (FilePath -> Bool) -> (String -> Bool) -> FilePath -> IO (STGroup a)
- Text.StringTemplate.Helpers: directoryGroups :: (Stringable a) => FilePath -> IO (Map FilePath (STGroup a))
+ Text.StringTemplate.Helpers: directoryGroups :: Stringable a => FilePath -> IO (Map FilePath (STGroup a))
- Text.StringTemplate.Helpers: directoryGroupsOld :: (Stringable a) => FilePath -> IO (Map FilePath (STGroup a))
+ Text.StringTemplate.Helpers: directoryGroupsOld :: Stringable a => FilePath -> IO (Map FilePath (STGroup a))
- Text.StringTemplate.Helpers: dirgroupKeys :: (Stringable a) => STDirGroups a -> [FilePath]
+ Text.StringTemplate.Helpers: dirgroupKeys :: Stringable a => STDirGroups a -> [FilePath]
- Text.StringTemplate.Helpers: getTemplateGroup :: (Stringable a) => FilePath -> STDirGroups a -> STGroup a
+ Text.StringTemplate.Helpers: getTemplateGroup :: Stringable a => FilePath -> STDirGroups a -> STGroup a
- Text.StringTemplate.Helpers: lookupDirgroup :: (Stringable a) => FilePath -> STDirGroups a -> Maybe (STGroup a)
+ Text.StringTemplate.Helpers: lookupDirgroup :: Stringable a => FilePath -> STDirGroups a -> Maybe (STGroup a)
- Text.StringTemplate.Helpers: readTmplDef :: (Read b) => b -> STGroup String -> FilePath -> b
+ Text.StringTemplate.Helpers: readTmplDef :: Read b => b -> STGroup String -> FilePath -> b
- Text.StringTemplate.Helpers: renderTemplateDirGroup :: (ToSElem a) => STDirGroups String -> FilePath -> String -> [(String, a)] -> String
+ Text.StringTemplate.Helpers: renderTemplateDirGroup :: ToSElem a => STDirGroups String -> FilePath -> String -> [(String, a)] -> String
- Text.StringTemplate.Helpers: renderTemplateGroup :: (ToSElem a) => STGroup String -> [(String, a)] -> [Char] -> String
+ Text.StringTemplate.Helpers: renderTemplateGroup :: ToSElem a => STGroup String -> [(String, a)] -> [Char] -> String

Files

HStringTemplateHelpers.cabal view
@@ -1,5 +1,5 @@ Name: HStringTemplateHelpers-Version: 0.0.10+Version: 0.0.11 License: GPL License-file: gpl.txt Description: Convenience functions and instances for HStringTemplate. I will deprecate this package if its contents are integrated into HStringTemplate.@@ -8,8 +8,19 @@ Author: Thomas Hartman Stability: Beta Copyright: Copyright (c) 2006-2008 Thomas Hartman-Exposed-Modules: Text.StringTemplate.Helpers-Build-Depends: base, HStringTemplate, filepath, directory, containers, HSH, mtl, safe, strict, FileManip+homepage:            http://patch-tag.com/tphyahoo/r/tphyahoo/HStringTemplateHelpers Category: Text Build-type: Simple+Cabal-version:      >= 1.6 +Flag base4+    Description: Choose the even newer, even smaller, split-up base package.++Library+  Build-Depends: base, HStringTemplate, filepath, directory, containers, HSH, mtl, safe, strict, FileManipCompat+  if flag(base4)+      Build-Depends:       base >= 4 && < 5+  else+      Build-Depends:       base < 4+  GHC-Options: -Wall+  Exposed-Modules: Text.StringTemplate.Helpers
Text/StringTemplate/Helpers.hs view
@@ -39,7 +39,7 @@ import qualified Data.Map as M import Text.StringTemplate.Classes import Safe-import qualified System.FilePath.Find as Find+import qualified System.FilePath.FindCompat as Find import System.FilePath {- |  Chooses a template from an STGroup, or errors if not found.