This library provides functions to categorize a list of entities into a HTML page with an index access (e.g., "A-Z") to these entities.
list2CategorizedHtml
:: (HTML a, Show b) => [(c,[a])] -> [(b,String)] -> (c -> b -> Bool) -> [a]
General categorization of a list of entries. |
categorizeByItemKey
:: HTML a => [(String,[a])] -> [a]
Categorize a list of entries with respect to the inial keys. |
stringList2ItemList
:: HTML a => [String] -> [(String,[a])]
Convert a string list into an key-item list The strings are used as keys and for the simple text layout. |
General categorization of a list of entries. The item will occur in every category for which the boolean function categoryFun yields True.
|
Categorize a list of entries with respect to the inial keys. The categories are named as all initial characters of the keys of the items.
|
Convert a string list into an key-item list The strings are used as keys and for the simple text layout. |