summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-07-13 16:11:25 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-07-13 16:11:25 -0400
commit97cc749872a8baf53bb34ef1b536b82f6aa7f1c7 (patch)
treec297f92dea86916471d18bb3c987834935bfcce2 /lib
parentf0b8905c1239b9b801c01cff28302cbd8d362f6e (diff)
Proper handling of non-function-call links
Diffstat (limited to 'lib')
-rw-r--r--lib/basis.lig5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/basis.lig b/lib/basis.lig
index dcf1713d..189b0350 100644
--- a/lib/basis.lig
+++ b/lib/basis.lig
@@ -2,6 +2,8 @@ type int
type float
type string
+type unit = {}
+
con tag :: {Type} -> {Unit} -> {Unit} -> Type
@@ -31,4 +33,7 @@ val b : tag [] [Body] [Body]
val i : tag [] [Body] [Body]
val font : tag [Size = int, Face = string] [Body] [Body]
+val h1 : tag [] [Body] [Body]
+val li : tag [] [Body] [Body]
+
val a : tag [Link = xhtml] [Body] [Body]