crypton-asn1-types-0.3.6: ASN.1 types
Copyright(c) 2010-2013 Vincent Hanquez <vincent@snarc.org>
LicenseBSD-style
Stabilityexperimental
Portabilityunknown
Safe HaskellNone
LanguageHaskell98

Data.ASN1.Pretty

Description

Types and functions to pretty print ASN.1 elements.

Synopsis

Documentation

pretty Source #

Arguments

:: PrettyType

The approach to formatting.

-> [ASN1]

Stream of ASN.1.

-> String 

Pretty print a list of ASN.1 elements.

data PrettyType Source #

Type representing approaches to formatting.

Constructors

Multiline Int

Increase indentation following each Start object and decrease following each End object. The Int is the initial indentation.

SingleLine

No indentation.

Instances

Instances details
Show PrettyType Source # 
Instance details

Defined in Data.ASN1.Pretty

Eq PrettyType Source # 
Instance details

Defined in Data.ASN1.Pretty