HPDF-1.3: Generation of PDF documents
Contents
Index
Graphics.PDF.Hyphenate
Portability
portable
Stability
experimental
Maintainer
misc@NOSPAMalpheccar.org
Contents
Type
Hyphenation databases
Hyphenation
Description
Hyphenate a string
Synopsis
data
HyphenationDatabase
=
English
(
Maybe
(
MapString
[
Int
]))
|
CustomLanguage
(
MapString
[
Int
]) (
MapString
[
Int
])
data
MapString
v
mkCustomLanguage
:: [
String
] -> [
String
] ->
HyphenationDatabase
mkExceptions
:: [
String
] ->
MapString
[
Int
]
hyphenate
::
HyphenationDatabase
->
String
-> [
String
]
Type
data
HyphenationDatabase
Hyphenation databases
Constructors
English
(
Maybe
(
MapString
[
Int
]))
CustomLanguage
(
MapString
[
Int
]) (
MapString
[
Int
])
data
MapString
v
Instances
??? v =>
Eq
(
MapString
v)
??? v =>
Show
(
MapString
v)
Hyphenation databases
mkCustomLanguage
:: [
String
]
Exceptions
-> [
String
]
Patterns
->
HyphenationDatabase
Create a custom language for hyphenation
mkExceptions
:: [
String
] ->
MapString
[
Int
]
Hyphenation
hyphenate
::
HyphenationDatabase
Hyphenation database to use to hyphenate the word
->
String
Word to hyphenate
-> [
String
]
Hyphenate a string
Produced by
Haddock
version 0.8