| Copyright | (c) 2010-2013 Vincent Hanquez <vincent@snarc.org> |
|---|---|
| License | BSD-style |
| Stability | experimental |
| Portability | unknown |
| Safe Haskell | None |
| Language | Haskell98 |
Data.ASN1.Pretty
Description
Types and functions to pretty print ASN.1 elements.
Synopsis
- pretty :: PrettyType -> [ASN1] -> String
- data PrettyType
Documentation
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 |
| SingleLine | No indentation. |
Instances
| Show PrettyType Source # | |
Defined in Data.ASN1.Pretty Methods showsPrec :: Int -> PrettyType -> ShowS # show :: PrettyType -> String # showList :: [PrettyType] -> ShowS # | |
| Eq PrettyType Source # | |
Defined in Data.ASN1.Pretty | |