OpenAFP-1.1: IBM AFP document format parser and generator
Source code
Contents
Index
OpenAFP.Prelude.Utils
Portability
non-portable (GHC-only)
Stability
experimental
Maintainer
audreyt@audreyt.org
Description
This module provides various AFP manipulation utilities.
Documentation
inlinePerformIO
::
IO
a -> a
Source
applyToChunk
:: (
Monad
m,
Rec
a,
Chunk
c) => (a -> x) -> c -> m x
Source
withChunk
::
Chunk
a => a -> (
forall
r.
Rec
r => r -> x) -> x
Source
splitRecords
:: (
Chunk
c,
Typeable
t) => t -> [c] -> [[c]]
Source
findRecord
:: (a ->
Bool
) -> [
Record
a] -> a
Source
matchRecord
:: (
RecData
a b,
Eq
c) => c -> (b -> c) -> a -> b
Source
matchRecordMaybe
:: (
RecData
a b,
Eq
c) => c -> (b -> c) -> a ->
Maybe
b
Source
findRecordMaybe
:: (a ->
Bool
) -> [
Record
a] ->
Maybe
a
Source
fromA
:: (
Binary
a,
Storable
a) => a ->
String
Source
trim
::
String
->
String
Source
catBuf
::
Buf
a => a -> a -> a
Source
subBuf
:: (
Buf
a,
Integral
b,
Integral
c) => a -> b -> c -> a
Source
subBufs
:: (
Buf
a,
Integral
b,
Integral
c) => [a] -> b -> c -> a
Source
showBitmap
:: (
Integral
i,
Show
a) => [a] -> i ->
IOm
()
Source
toA8
::
String
->
A8
Source
packA8
::
A8
->
ByteString
Source
fromA8
::
A8
->
String
Source
warn
::
String
->
IOm
()
Source
die
::
String
->
IOm
a
Source
requiredOpt
:: (
String
->
IO
a) ->
String
-> a
Source
io
::
MonadIO
m =>
IO
a -> m a
Source
Produced by
Haddock
version 2.3.0