withArgs

withArgs args act - while executing action act, have getArgs return args.
Unlifted withArgs.
withArgs args act - while executing action act, have getArgs return args.
xs `withArgsFrom` args translates xs into a list of Args, using the elements in args to fill in the non-unArg fields. Precondition: The two lists should have equal length.
A version of defaultMain that lets you ignore the command line arguments in favour of another list of Strings.
Executes the interpreter, setting the args as though they were command-line args. In particular, this means args that have no effect with :set in ghci might function properly from this context. Warning: Some options may interact badly with the Interpreter.
A variant of unsafeRunInterpreterWithArgs which also lets you specify the folder in which the GHC bootstrap libraries (base, containers, etc.) can be found. This allows you to run hint on a machine in which GHC is not installed. A typical libdir value could be usrlibghc-8.0.1ghc-8.0.1.
Runs something testable by parsing the commandline arguments as test options (using parseTestArgs). Exits with the exit code returned by runTestWithArgs.
Run something testable, parse the CmdlineOptions from the given commandline arguments. Does not print the overall test results but returns an IO action for doing so.
Run something testable, parse the CmdlineOptions from the given commandline arguments.
A variant of hakyll which expects a Configuration and command-line Options. This gives freedom to implement your own parsing.
Renders a template with the specified arguments passed to it. This is a convenience function for the common pattern of calling renderTemplate after using bindString, bindStrings, or bindSplice to set up the arguments to the template.
Uninterpret a value, with named arguments in case of functions. SBV will use these names when it shows the values for the arguments. If the given names are more than needed we ignore the excess. If not enough, we add from a stock set of variables.
dzen str args timeout pipes str to dzen2 for timeout seconds, passing args to dzen. Example usage:
dzenWithArgs "Hi, dons!" ["-ta", "r"] (5 `seconds`)
Assert equality of two MPFloat's with tolerance derived from the given list of input and intermediate values and their differentials (ie the derivative of the result wrt this value). The difference in the left and right results is expected to share at least as many significant digits as the worst error step among the input and intermediate numbers shifted by the slope of the differential minus the given precision loss parameter. When the assertion fails, report the given values using the given names.
Run Hpp with the given commandline arguments.
making an IO parser, specifying the arguments