mime-0.4.0.2: Working with MIME types.
Copyright(c) 2006-2009 Galois Inc.
LicenseBSD3
MaintainerSigbjorn Finne <sigbjorn.finne@gmail.com>
Stabilityprovisional
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell98

Codec.MIME.Type

Description

Representing MIME types and values.

Synopsis

Documentation

data Type Source #

Constructors

Type 

Instances

Instances details
Show Type Source # 
Instance details

Defined in Codec.MIME.Type

Eq Type Source # 
Instance details

Defined in Codec.MIME.Type

Methods

(==) :: Type -> Type -> Bool Source #

(/=) :: Type -> Type -> Bool Source #

Ord Type Source # 
Instance details

Defined in Codec.MIME.Type

nullType :: Type Source #

The null MIME record type value; currently a text/plain.

data MIMEPair Source #

a (type, subtype) MIME pair.

Constructors

MIMEPair Text SubType 

Instances

Instances details
Eq MIMEPair Source # 
Instance details

Defined in Codec.MIME.Type

type SubType = Text Source #

default subtype representation.

type TextType = SubType Source #

subtype for text content; currently just a string.

data MIMEContent Source #

Constructors

Single Content 
Multi [MIMEValue] 

Instances

Instances details
Show MIMEContent Source # 
Instance details

Defined in Codec.MIME.Type

Eq MIMEContent Source # 
Instance details

Defined in Codec.MIME.Type

data Disposition Source #

Constructors

Disposition 

Instances

Instances details
Show Disposition Source # 
Instance details

Defined in Codec.MIME.Type

Eq Disposition Source # 
Instance details

Defined in Codec.MIME.Type

data DispType Source #

Instances

Instances details
Show DispType Source # 
Instance details

Defined in Codec.MIME.Type

Eq DispType Source # 
Instance details

Defined in Codec.MIME.Type