HPDF-1.7: Generation of PDF documents
Copyright(c) 2023 Henning Thielemann
LicenseBSD-style
Maintainerhaskell@henning-thielemann.de
Stabilityexperimental
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Graphics.PDF.Expression

Description

PDF expressions and functions

Documentation

newtype PDFExpression a Source #

Constructors

PDFExpression (ExprMonad ()) 

class Function f Source #

Minimal complete definition

serializeFunction

Instances

Instances details
Function (PDFExpression a) Source # 
Instance details

Defined in Graphics.PDF.Expression

Methods

serializeFunction :: PDFExpression a -> StateT Int ExprMonad ()

(Result a, Result b) => Function (a, b) Source # 
Instance details

Defined in Graphics.PDF.Expression

Methods

serializeFunction :: (a, b) -> StateT Int ExprMonad ()

(Argument a, Function f) => Function (a -> f) Source # 
Instance details

Defined in Graphics.PDF.Expression

Methods

serializeFunction :: (a -> f) -> StateT Int ExprMonad ()

(Result a, Result b, Result c) => Function (a, b, c) Source # 
Instance details

Defined in Graphics.PDF.Expression

Methods

serializeFunction :: (a, b, c) -> StateT Int ExprMonad ()

(Result a, Result b, Result c, Result d) => Function (a, b, c, d) Source # 
Instance details

Defined in Graphics.PDF.Expression

Methods

serializeFunction :: (a, b, c, d) -> StateT Int ExprMonad ()

class Function a => Result a Source #

Minimal complete definition

serializeResult

Instances

Instances details
Result (PDFExpression a) Source # 
Instance details

Defined in Graphics.PDF.Expression

Methods

serializeResult :: PDFExpression a -> StateT Int ExprMonad ()

(Result a, Result b) => Result (a, b) Source # 
Instance details

Defined in Graphics.PDF.Expression

Methods

serializeResult :: (a, b) -> StateT Int ExprMonad ()

(Result a, Result b, Result c) => Result (a, b, c) Source # 
Instance details

Defined in Graphics.PDF.Expression

Methods

serializeResult :: (a, b, c) -> StateT Int ExprMonad ()

(Result a, Result b, Result c, Result d) => Result (a, b, c, d) Source # 
Instance details

Defined in Graphics.PDF.Expression

Methods

serializeResult :: (a, b, c, d) -> StateT Int ExprMonad ()

class Argument a Source #

Minimal complete definition

argumentExpression

Instances

Instances details
Argument (PDFExpression a) Source # 
Instance details

Defined in Graphics.PDF.Expression

Methods

argumentExpression :: forall (m :: Type -> Type). Monad m => StateT Int m (PDFExpression a)

(Argument a, Argument b) => Argument (a, b) Source # 
Instance details

Defined in Graphics.PDF.Expression

Methods

argumentExpression :: forall (m :: Type -> Type). Monad m => StateT Int m (a, b)

(Argument a, Argument b, Argument c) => Argument (a, b, c) Source # 
Instance details

Defined in Graphics.PDF.Expression

Methods

argumentExpression :: forall (m :: Type -> Type). Monad m => StateT Int m (a, b, c)

(Argument a, Argument b, Argument c, Argument d) => Argument (a, b, c, d) Source # 
Instance details

Defined in Graphics.PDF.Expression

Methods

argumentExpression :: forall (m :: Type -> Type). Monad m => StateT Int m (a, b, c, d)