| Copyright | 2013-2018 Kei Hibino 2015 Shohei Murayama |
|---|---|
| License | BSD3 |
| Maintainer | ex8k.hibino@gmail.com |
| Stability | experimental |
| Portability | unknown |
| Safe Haskell | Safe |
| Language | Haskell2010 |
Language.Haskell.TH.Name.CamelCase
Contents
Description
This module provides camelcased Name for Template Haskell
Synopsis
- newtype ConName = ConName {}
- toConName :: String -> ConName
- newtype VarName = VarName {}
- toVarName :: String -> VarName
- conCamelcaseName :: String -> ConName
- varCamelcaseName :: String -> VarName
- toTypeCon :: ConName -> TypeQ
- toDataCon :: ConName -> ExpQ
- toVarExp :: VarName -> ExpQ
- toVarPat :: VarName -> PatQ
Types to wrap Name
Wrap Name to distinguish constructor names and variable names.
Type to wrap constructor's Name.
Type to wrap variable's Name.
Functions to make camel-cased names
Make camel-cased names.
Functions to generate haskell template from names
Make haskell templates from names.