dhall-1.21.0: A configuration language guaranteed to terminate

Safe HaskellNone
LanguageHaskell2010

Dhall.Binary

Contents

Description

This module contains logic for converting Dhall expressions to and from CBOR expressions which can in turn be converted to and from a binary representation

Synopsis

Standard versions

Encoding and decoding

encode :: Expr s Import -> Term Source #

Encode a Dhall expression to a CBOR Term

decode :: Term -> Either DecodingFailure (Expr s Import) Source #

Decode a Dhall expression from a CBOR Term

Exceptions