Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- program :: Parsec CustomParserException Text (Contract ParsedOp)
- parseNoEnv :: Parser a -> String -> Text -> Either (ParseErrorBundle Text CustomParserException) a
- ops :: Parser [ParsedOp]
- data ParserException = ParserException (ParseErrorBundle Text CustomParserException)
- stringLiteral :: Parser (Value ParsedOp)
- type_ :: Parser Type
- value :: Parser (Value ParsedOp)
- stackType :: Parser StackTypePattern
- printComment :: Parser PrintComment
- bytesLiteral :: Parser (Value a)
- pushOp :: Parser ParsedInstr
- intLiteral :: Parser (Value a)
Documentation
program :: Parsec CustomParserException Text (Contract ParsedOp) Source #
Michelson contract with let definitions
parseNoEnv :: Parser a -> String -> Text -> Either (ParseErrorBundle Text CustomParserException) a Source #
Parse with empty environment
data ParserException Source #
Instances
Show ParserException Source # | |
Defined in Morley.Types showsPrec :: Int -> ParserException -> ShowS # show :: ParserException -> String # showList :: [ParserException] -> ShowS # | |
Exception ParserException Source # | |
Defined in Morley.Types | |
Buildable ParserException Source # | |
Defined in Morley.Types build :: ParserException -> Builder # |
bytesLiteral :: Parser (Value a) Source #
intLiteral :: Parser (Value a) Source #