haskelldb-2.2.1: A library of combinators for generating and executing SQL statements.

Portabilitynon-portable
Stabilityexperimental
Maintainerhaskelldb-users@lists.sourceforge.net
Safe HaskellNone

Database.HaskellDB.DBSpec.PPHelpers

Description

Various functions used when pretty printing stuff

Synopsis

Documentation

ppComment :: [[Char]] -> DocSource

fileName :: [Char] -> [Char]Source

data MakeIdentifiers Source

Constructors

MakeIdentifiers 

Fields

moduleName :: String -> String
 
identifier :: String -> String
 
toType :: String -> String
 

toLowerCamelCase :: [Char] -> [Char]Source

toUpperCamelCase :: [Char] -> [Char]Source

split :: Eq a => (a -> Bool) -> [a] -> [[a]]Source

Generalization of words and lines to any separating character set.

checkChars :: [Char] -> [Char]Source

checkKeyword :: [Char] -> [Char]Source

checkUpper :: [Char] -> [Char]Source

checkLower :: [Char] -> [Char]Source

checkUpperDef :: Char -> [Char] -> [Char]Source

checkLowerDef :: Char -> [Char] -> [Char]Source