Safe Haskell | None |
---|---|
Language | Haskell2010 |
Parsing of untyped Michelson values.
Synopsis
- value' :: Parser ParsedOp -> Parser ParsedValue
- mkLetVal :: Map Text LetValue -> Parser LetValue
- stringLiteral :: Parser ParsedValue
- bytesLiteral :: Parser (Value' op)
- intLiteral :: Parser (Value' op)
Documentation
value' :: Parser ParsedOp -> Parser ParsedValue Source #
Parse untyped ParsedValue
. Take instruction parser as argument
to avoid cyclic dependencies between modules, hence ' in its name.
For tests
bytesLiteral :: Parser (Value' op) Source #
intLiteral :: Parser (Value' op) Source #