packages feed

names-th 0.2.0.3 → 0.2.0.4

raw patch · 2 files changed

+10/−7 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

names-th.cabal view
@@ -1,5 +1,5 @@ name:                names-th-version:             0.2.0.3+version:             0.2.0.4 synopsis:            Manipulate name strings for TH description:         This package includes functions to manipulate name string                      and extra library functions for Template Haskell.@@ -8,11 +8,12 @@ license-file:        LICENSE author:              Kei Hibino maintainer:          ex8k.hibino@gmail.com-copyright:           Copyright (c) 2013-2017 Kei Hibino+copyright:           Copyright (c) 2013-2018 Kei Hibino, 2015 Shohei Murayama category:            Development build-type:          Simple cabal-version:       >=1.10-tested-with:           GHC == 8.2.1+tested-with:           GHC == 8.4.1, GHC == 8.4.2+                     , GHC == 8.2.1, GHC == 8.2.2                      , GHC == 8.0.1, GHC == 8.0.2                      , GHC == 7.10.1, GHC == 7.10.2, GHC == 7.10.3                      , GHC == 7.8.1, GHC == 7.8.2, GHC == 7.8.3, GHC == 7.8.4
src/Language/Haskell/TH/Name/CamelCase.hs view
@@ -1,6 +1,6 @@ -- | -- Module      : Language.Haskell.TH.Name.CamelCase--- Copyright   : 2013 Kei Hibino+-- Copyright   : 2013-2018 Kei Hibino, 2015 Shohei Murayama -- License     : BSD3 -- -- Maintainer  : ex8k.hibino@gmail.com@@ -18,13 +18,14 @@   -- $makeNames   conCamelcaseName, varCamelcaseName, -  varNameWithPrefix,-   -- * Functions to generate haskell template from names   -- $makeTemplates   toTypeCon, toDataCon, -  toVarExp, toVarPat+  toVarExp, toVarPat,++  -- * Deprecated+  varNameWithPrefix,   ) where  import Data.Char (toUpper, toLower)@@ -106,6 +107,7 @@ -- -- >  name `varNamePrefix` prefix --+{-# DEPRECATED varNameWithPrefix "should simply use toVarName." #-} varNameWithPrefix :: String -> String -> VarName varNameWithPrefix n p =  toVarName $ p ++ camelcaseUpper n