| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Bcc.CLI.Sophie.Script
Synopsis
Documentation
data ScriptDecodeError Source #
Constructors
| ScriptDecodeTextEnvelopeError TextEnvelopeError | |
| ScriptDecodeSimpleScriptError JsonDecodeError |
Instances
| Show ScriptDecodeError Source # | |
Defined in Bcc.CLI.Sophie.Script | |
| Error ScriptDecodeError Source # | |
Defined in Bcc.CLI.Sophie.Script Methods | |
readFileScriptInAnyLang ∷ FilePath → ExceptT (FileError ScriptDecodeError) IO ScriptInAnyLang Source #
Read a script file. The file can either be in the text envelope format wrapping the binary representation of any of the supported script languages, or alternatively it can be a JSON format file for one of the simple script language versions.