HORIZON HASKELLDocslts/ghc-10.0.x77a86622026-10-31Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 77a8662 · 2026-10-31

Modulecrypton-asn1-parse-0.10.0Haskell98

Data.ASN1.Parse

A monadic parser combinator for a stream of ASN.1 items.

Contents
  1. Run ParseASN1
  2. Combinators
Synopsis
newtypenewtype ParseASN1 a

Type representing a parser combinator for a stream of ASN.1 items.

Instances5Monad, Functor, MonadFail, Applicative, Alternative

Run the given parse monad over the given list of ASN.1 items and returns the result (if successful).

If ASN.1 items remain in the stream after doing so, returns an error.

Combinators

Get the object from the next ASN.1 item in a stream of ASN.1 items. Throws a parse error if the object cannot be obtained from the item.