morley-0.3.0: Developer tools for the Michelson Language

Safe HaskellNone
LanguageHaskell2010

Michelson.Interpret.Pack

Description

Module, carrying logic of PACK instruction.

This is nearly symmetric to adjacent Unpack.hs module.

Synopsis

Documentation

packValue :: (SingI t, HasNoOp t, HasNoBigMap t) => Value t -> LByteString Source #

Serialize a value given to PACK instruction.

packValue' :: (SingI t, HasNoOp t, HasNoBigMap t) => Value t -> ByteString Source #

Same as packValue, for strict bytestring.