Commit f0737f59 authored by Michael Hanus 's avatar Michael Hanus

Typeclass version packaged

parent 715508be
{
"name": "html",
"version": "1.0.0",
"version": "2.0.0",
"author": "Michael Hanus <mh@informatik.uni-kiel.de>",
"synopsis": "Libraries for HTML programming.",
"category": [ "Web" ],
......@@ -8,8 +8,8 @@
"exportedModules": [ "HTML.CategorizedList", "HTML.Parser",
"HTML.Styles.Bootstrap3" ],
"compilerCompatibility": {
"pakcs": ">= 1.14.0, < 2.0.0",
"kics2": ">= 0.5.0, < 2.0.0"
"pakcs": ">= 2.0.0",
"kics2": ">= 2.0.0"
},
"license": "BSD-3-Clause",
"licenseFile": "LICENSE",
......
......@@ -24,7 +24,7 @@ import Char
--- @param categoryFun uses the keys of the items and the keys of the
--- categories to distribute the items among the categories.
--- @return Html containing inner links between the categories
list2CategorizedHtml :: [(a,[HtmlExp])] -> [(b,String)] -> (a -> b -> Bool)
list2CategorizedHtml :: Show b => [(a,[HtmlExp])] -> [(b,String)] -> (a -> b -> Bool)
-> [HtmlExp]
list2CategorizedHtml itemL categoryL categoryFun =
categories2LinkList categoryL :
......@@ -40,7 +40,7 @@ list2CategorizedHtml itemL categoryL categoryFun =
categoryL
-- the navigation list
categories2LinkList :: [(_,String)] -> HtmlExp
categories2LinkList :: Show a => [(a,String)] -> HtmlExp
categories2LinkList categoryL =
par
[center
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment