Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Evalute passed arguments with external interpreter
Documentation
Different interesting return types for quasiquoters
Instances here mostly resemble the types of things in System.Process
Eval (IO String) | Return stdout of external process as Does not care whether external process has failed or not.
|
Eval (IO ()) | Most basic instance: nothing is known about what happened in external command
|
((~) * s ExitCode, (~) * o Text, (~) * e Text) => Eval (IO (s, o, e)) | Return exit code, stdout, and stderr of external process
|
Eval (IO ExitCode) | Return exit code of the external process
|
Eval (IO Text) | Return stdout of the external process as Does not care whether external process has failed or not.
|
((~) * i Text, (~) * o (ExitCode, Text, Text)) => Eval (i -> IO o) | Return exit code, stdout, and stderr of the external process
and pass supplied
|