Copyright | (c) 2023 Henning Thielemann |
---|---|
License | BSD-style |
Maintainer | haskell@henning-thielemann.de |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
PDF expressions and functions
Documentation
newtype PDFExpression a Source #
PDFExpression (ExprMonad ()) |
Instances
serializeFunction
Instances
Function (PDFExpression a) Source # | |
Defined in Graphics.PDF.Expression serializeFunction :: PDFExpression a -> StateT Int ExprMonad () | |
(Result a, Result b) => Function (a, b) Source # | |
Defined in Graphics.PDF.Expression serializeFunction :: (a, b) -> StateT Int ExprMonad () | |
(Argument a, Function f) => Function (a -> f) Source # | |
Defined in Graphics.PDF.Expression serializeFunction :: (a -> f) -> StateT Int ExprMonad () | |
(Result a, Result b, Result c) => Function (a, b, c) Source # | |
Defined in Graphics.PDF.Expression serializeFunction :: (a, b, c) -> StateT Int ExprMonad () | |
(Result a, Result b, Result c, Result d) => Function (a, b, c, d) Source # | |
Defined in Graphics.PDF.Expression serializeFunction :: (a, b, c, d) -> StateT Int ExprMonad () |
class Function a => Result a Source #
serializeResult
Instances
Result (PDFExpression a) Source # | |
Defined in Graphics.PDF.Expression serializeResult :: PDFExpression a -> StateT Int ExprMonad () | |
(Result a, Result b) => Result (a, b) Source # | |
Defined in Graphics.PDF.Expression serializeResult :: (a, b) -> StateT Int ExprMonad () | |
(Result a, Result b, Result c) => Result (a, b, c) Source # | |
Defined in Graphics.PDF.Expression serializeResult :: (a, b, c) -> StateT Int ExprMonad () | |
(Result a, Result b, Result c, Result d) => Result (a, b, c, d) Source # | |
Defined in Graphics.PDF.Expression serializeResult :: (a, b, c, d) -> StateT Int ExprMonad () |
argumentExpression
Instances
Argument (PDFExpression a) Source # | |
Defined in Graphics.PDF.Expression argumentExpression :: forall (m :: Type -> Type). Monad m => StateT Int m (PDFExpression a) | |
(Argument a, Argument b) => Argument (a, b) Source # | |
Defined in Graphics.PDF.Expression | |
(Argument a, Argument b, Argument c) => Argument (a, b, c) Source # | |
Defined in Graphics.PDF.Expression | |
(Argument a, Argument b, Argument c, Argument d) => Argument (a, b, c, d) Source # | |
Defined in Graphics.PDF.Expression |
serialize :: Function f => f -> ByteString Source #
(==%) :: Eq a => PDFExpression a -> PDFExpression a -> PDFExpression Bool infix 4 Source #
(/=%) :: Eq a => PDFExpression a -> PDFExpression a -> PDFExpression Bool infix 4 Source #
(<%) :: Ord a => PDFExpression a -> PDFExpression a -> PDFExpression Bool infix 4 Source #
(>=%) :: Ord a => PDFExpression a -> PDFExpression a -> PDFExpression Bool infix 4 Source #
(>%) :: Ord a => PDFExpression a -> PDFExpression a -> PDFExpression Bool infix 4 Source #
(<=%) :: Ord a => PDFExpression a -> PDFExpression a -> PDFExpression Bool infix 4 Source #
min :: Ord a => PDFExpression a -> PDFExpression a -> PDFExpression a Source #
max :: Ord a => PDFExpression a -> PDFExpression a -> PDFExpression a Source #
true :: PDFExpression Bool Source #
(&&*) :: PDFExpression Bool -> PDFExpression Bool -> PDFExpression Bool infixr 3 Source #
(||*) :: PDFExpression Bool -> PDFExpression Bool -> PDFExpression Bool infixr 2 Source #
not :: PDFExpression Bool -> PDFExpression Bool Source #
ifThenElse :: Ord a => PDFExpression Bool -> PDFExpression a -> PDFExpression a -> PDFExpression a Source #
sqrt :: Floating a => PDFExpression a -> PDFExpression a Source #
sinDeg :: Floating a => PDFExpression a -> PDFExpression a Source #
cosDeg :: Floating a => PDFExpression a -> PDFExpression a Source #
log :: Floating a => PDFExpression a -> PDFExpression a Source #
log10 :: Floating a => PDFExpression a -> PDFExpression a Source #
pow :: Floating a => PDFExpression a -> PDFExpression a -> PDFExpression a Source #
atan2Deg :: Floating a => PDFExpression a -> PDFExpression a -> PDFExpression a Source #
floor :: RealFrac a => PDFExpression a -> PDFExpression Int Source #
ceiling :: RealFrac a => PDFExpression a -> PDFExpression Int Source #
round :: RealFrac a => PDFExpression a -> PDFExpression Int Source #
truncate :: RealFrac a => PDFExpression a -> PDFExpression Int Source #