blob: 49549f5e0ea7923e872bbd3b93f0f2836c603e63 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
type int
type float
type string
con tag :: {Unit} -> {Unit} -> Type
con xml :: {Unit} -> Type
val cdata : ctx ::: {Unit} -> string -> xml ctx
val tag : outer ::: {Unit} -> inner ::: {Unit}
-> tag outer inner
-> xml inner
-> xml outer
val join : shared :: {Unit}
-> ctx1 ::: {Unit} -> ctx1 ~ shared
-> ctx2 ::: {Unit} -> ctx2 ~ shared
-> xml (shared ++ ctx1) -> xml (shared ++ ctx2) -> xml shared
val head : tag [Html] [Head]
val title : tag [Head] []
val body : tag [Html] [Body]
val p : tag [Body] [Body]
val b : tag [Body] [Body]
val i : tag [Body] [Body]
|