Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
System.Console.Hawk.Args.Spec
Description
The precisely-typed version of Hawk's command-line arguments.
Documentation
Constructors
Help | |
Version | |
Eval ExprSpec OutputSpec | |
Apply ExprSpec InputSpec OutputSpec | |
Map ExprSpec InputSpec OutputSpec |
data OutputSpec Source #
Constructors
OutputSpec | |
Fields |
Instances
Eq OutputSpec Source # | |
Defined in System.Console.Hawk.Args.Spec | |
Show OutputSpec Source # | |
Defined in System.Console.Hawk.Args.Spec Methods showsPrec :: Int -> OutputSpec -> ShowS # show :: OutputSpec -> String # showList :: [OutputSpec] -> ShowS # |
data InputSource Source #
Instances
Eq InputSource Source # | |
Defined in System.Console.Hawk.Args.Spec | |
Show InputSource Source # | |
Defined in System.Console.Hawk.Args.Spec Methods showsPrec :: Int -> InputSource -> ShowS # show :: InputSource -> String # showList :: [InputSource] -> ShowS # |
data OutputSink Source #
Constructors
UseStdout |
Instances
Eq OutputSink Source # | |
Defined in System.Console.Hawk.Args.Spec | |
Show OutputSink Source # | |
Defined in System.Console.Hawk.Args.Spec Methods showsPrec :: Int -> OutputSink -> ShowS # show :: OutputSink -> String # showList :: [OutputSink] -> ShowS # |
data InputFormat Source #
Constructors
RawStream | |
Records Separator RecordFormat |
Instances
Eq InputFormat Source # | |
Defined in System.Console.Hawk.Args.Spec | |
Show InputFormat Source # | |
Defined in System.Console.Hawk.Args.Spec Methods showsPrec :: Int -> InputFormat -> ShowS # show :: InputFormat -> String # showList :: [InputFormat] -> ShowS # |
data RecordFormat Source #
Instances
Eq RecordFormat Source # | |
Defined in System.Console.Hawk.Args.Spec | |
Show RecordFormat Source # | |
Defined in System.Console.Hawk.Args.Spec Methods showsPrec :: Int -> RecordFormat -> ShowS # show :: RecordFormat -> String # showList :: [RecordFormat] -> ShowS # |
data OutputFormat Source #
Constructors
OutputFormat | |
Fields |
Instances
Eq OutputFormat Source # | |
Defined in System.Console.Hawk.Args.Spec | |
Show OutputFormat Source # | |
Defined in System.Console.Hawk.Args.Spec Methods showsPrec :: Int -> OutputFormat -> ShowS # show :: OutputFormat -> String # showList :: [OutputFormat] -> ShowS # |
type Delimiter = ByteString Source #
Constructors
DoNotSeparate | |
SeparateOn Separator |
newtype ContextSpec Source #
Constructors
ContextSpec | |
Fields |
Instances
Eq ContextSpec Source # | |
Defined in System.Console.Hawk.Args.Spec | |
Show ContextSpec Source # | |
Defined in System.Console.Hawk.Args.Spec Methods showsPrec :: Int -> ContextSpec -> ShowS # show :: ContextSpec -> String # showList :: [ContextSpec] -> ShowS # |
type UntypedExpr = String Source #