Safe Haskell | None |
---|---|
Language | GHC2024 |
System.Process.Quick.CallArgument
Synopsis
- class Arbitrary a => CallArgument a where
- toExecString :: a -> [String]
- type NeList = NonEmpty
- newtype QR a = QR {}
- class Typeable a => CallArgumentGen a where
- cArgName :: a -> Maybe String
- progArgExpr :: a -> QR Exp
- fieldExpr :: a -> QR (Maybe VarBangType)
- newtype ConstArg = ConstArg String
- defaultBang :: Bang
- nameE :: String -> Q Exp
- isValidFirstFieldLetter :: Char -> Bool
- isValidFieldLetter :: Char -> Bool
- haskellKeyword :: Set String
- mapFirst :: (a -> a) -> [a] -> [a]
- escapeFieldName :: String -> String
- newtype VarArg (a :: k) = VarArg String
- newtype KeyArg (a :: k) = KeyArg String
Documentation
class Arbitrary a => CallArgument a where Source #
Minimal complete definition
Nothing
Methods
toExecString :: a -> [String] Source #
default toExecString :: Show a => a -> [String] Source #
Instances
class Typeable a => CallArgumentGen a where Source #
Methods
cArgName :: a -> Maybe String Source #
field name in the record; constant value does not have a field
progArgExpr :: a -> QR Exp Source #
lambda expression projecting a call argument in CallSpec record to a list of strings Exp type is 'v -> [String]'
fieldExpr :: a -> QR (Maybe VarBangType) Source #
TH field definition of call argument in CallSpec record
Instances
CallArgumentGen ConstArg Source # | |
CallArgumentGen Subcases Source # | |
(Typeable a, CallArgument a) => CallArgumentGen (KeyArg a) Source # | |
(Typeable a, CallArgument a) => CallArgumentGen (VarArg a) Source # | |
defaultBang :: Bang Source #
isValidFirstFieldLetter :: Char -> Bool Source #
isValidFieldLetter :: Char -> Bool Source #
escapeFieldName :: String -> String Source #
newtype VarArg (a :: k) Source #
Command line argument without preceeding key