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
:: Show a => [(b,[HtmlExp])] -> [(a,String)] -> (b -> a -> Bool) -> [HtmlExp]
General categorization of a list of entries. |
categorizeByItemKey
:: [(String,[HtmlExp])] -> [HtmlExp]
Categorize a list of entries with respect to the inial keys. |
stringList2ItemList
:: [String] -> [(String,[HtmlExp])]
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. |