mirror of
https://github.com/khibino/haskell-relational-record.git
synced 2024-11-25 08:19:14 +03:00
names-th: drop deprecated definition.
This commit is contained in:
parent
0f02021b36
commit
20d627993f
@ -23,9 +23,6 @@ module Language.Haskell.TH.Name.CamelCase (
|
||||
toTypeCon, toDataCon,
|
||||
|
||||
toVarExp, toVarPat,
|
||||
|
||||
-- * Deprecated
|
||||
varNameWithPrefix,
|
||||
) where
|
||||
|
||||
import Data.Char (toUpper, toLower)
|
||||
@ -103,14 +100,6 @@ conCamelcaseName = toConName . camelcaseUpper
|
||||
varCamelcaseName :: String -> VarName
|
||||
varCamelcaseName = toVarName . camelcaseUpper
|
||||
|
||||
-- | Make camel-cased variable name with prefix like below.
|
||||
--
|
||||
-- > name `varNamePrefix` prefix
|
||||
--
|
||||
{-# DEPRECATED varNameWithPrefix "should simply use toVarName." #-}
|
||||
varNameWithPrefix :: String -> String -> VarName
|
||||
varNameWithPrefix n p = toVarName $ p ++ camelcaseUpper n
|
||||
|
||||
{- $makeTemplates
|
||||
Make haskell templates from names.
|
||||
-}
|
||||
|
Loading…
Reference in New Issue
Block a user