@@ -38,114 +38,114 @@ type ToHtml' a h = ToNode a h NodeData ⇒ a → Html h
38
38
39
39
foreign import createViewNode ∷ ∀ message . Array (NodeData message ) → Array (Html message ) → Html message
40
40
41
- foreign import createButtonNode ∷ ∀ message . Array (NodeData message ) → Array (Html message ) -> Html message
41
+ foreign import createButtonNode ∷ ∀ message . Array (NodeData message ) → Array (Html message ) → Html message
42
42
43
- foreign import createBrNode :: forall message . Array (NodeData message ) -> Html message
43
+ foreign import createBrNode ∷ ∀ message . Array (NodeData message ) → Html message
44
44
45
- foreign import createImageNode :: forall message . Array (NodeData message ) -> Html message
45
+ foreign import createImageNode ∷ ∀ message . Array (NodeData message ) → Html message
46
46
47
- foreign import createHrNode :: forall message . Array (NodeData message ) -> Html message
47
+ foreign import createHrNode ∷ ∀ message . Array (NodeData message ) → Html message
48
48
49
- foreign import createANode :: forall message . Array (NodeData message ) -> Array (Html message ) -> Html message
49
+ foreign import createANode ∷ ∀ message . Array (NodeData message ) → Array (Html message ) → Html message
50
50
51
- foreign import createInputNode :: forall message . Array (NodeData message ) -> Html message
51
+ foreign import createInputNode ∷ ∀ message . Array (NodeData message ) → Html message
52
52
53
- foreign import createBNode :: forall message . Array (NodeData message ) -> Array (Html message ) -> Html message
53
+ foreign import createBNode ∷ ∀ message . Array (NodeData message ) → Array (Html message ) → Html message
54
54
55
- foreign import createLabelNode :: forall message . Array (NodeData message ) -> Array (Html message ) -> Html message
55
+ foreign import createLabelNode ∷ ∀ message . Array (NodeData message ) → Array (Html message ) → Html message
56
56
57
- foreign import createTableNode :: forall message . Array (NodeData message ) -> Array (Html message ) -> Html message
57
+ foreign import createTableNode ∷ ∀ message . Array (NodeData message ) → Array (Html message ) → Html message
58
58
59
- foreign import createTrNode :: forall message . Array (NodeData message ) -> Array (Html message ) -> Html message
59
+ foreign import createTrNode ∷ ∀ message . Array (NodeData message ) → Array (Html message ) → Html message
60
60
61
61
-- | Creates a text node
62
62
foreign import text ∷ ∀ message . String → Html message
63
63
64
- hr' :: forall a h . ToHtml' a h
64
+ hr' ∷ ∀ a h . ToHtml' a h
65
65
hr' nodeData = createHrNode (toNode nodeData)
66
66
67
- br :: forall message . Html message
67
+ br ∷ ∀ message . Html message
68
68
br = createBrNode []
69
69
70
- br' :: forall a h . ToHtml' a h
70
+ br' ∷ ∀ a h . ToHtml' a h
71
71
br' nodeData = createBrNode (toNode nodeData)
72
72
73
- input :: forall a h . ToHtml' a h
73
+ input ∷ ∀ a h . ToHtml' a h
74
74
input nodeData = createInputNode (toNode nodeData)
75
75
76
- a :: forall a b h . ToHtml a b h
76
+ a ∷ ∀ a b h . ToHtml a b h
77
77
a nodeData children = createANode (toNode nodeData) $ toNode children
78
78
79
- a_ :: forall b h . ToHtml_ b h
79
+ a_ ∷ ∀ b h . ToHtml_ b h
80
80
a_ children = createANode [] $ toNode children
81
81
82
- a' :: forall a h . ToHtml' a h
82
+ a' ∷ ∀ a h . ToHtml' a h
83
83
a' nodeData = createANode (toNode nodeData) []
84
84
85
- b :: forall a b h . ToHtml a b h
85
+ b ∷ ∀ a b h . ToHtml a b h
86
86
b nodeData children = createBNode (toNode nodeData) $ toNode children
87
87
88
- b_ :: forall b h . ToHtml_ b h
88
+ b_ ∷ ∀ b h . ToHtml_ b h
89
89
b_ children = createBNode [] $ toNode children
90
90
91
- b' :: forall a h . ToHtml' a h
91
+ b' ∷ ∀ a h . ToHtml' a h
92
92
b' nodeData = createBNode (toNode nodeData) []
93
93
94
- body :: forall a b h . ToHtml a b h
94
+ body ∷ ∀ a b h . ToHtml a b h
95
95
body nodeData children = createViewNode (toNode nodeData) $ toNode children
96
96
97
- body_ :: forall b h . ToHtml_ b h
97
+ body_ ∷ ∀ b h . ToHtml_ b h
98
98
body_ children = createViewNode [] $ toNode children
99
99
100
- body' :: forall a h . ToHtml' a h
100
+ body' ∷ ∀ a h . ToHtml' a h
101
101
body' nodeData = createViewNode (toNode nodeData) []
102
102
103
- button :: forall a b h . ToHtml a b h
104
- button nodeData children = createButtonNode (toNode nodeData ) $ toNode children
103
+ button ∷ ∀ a b h . ToHtml a b h
104
+ button nodeData children = createButtonNode (toNode nodeData) $ toNode children
105
105
106
- button_ :: forall b h . ToHtml_ b h
106
+ button_ ∷ ∀ b h . ToHtml_ b h
107
107
button_ children = createButtonNode [] $ toNode children
108
108
109
- button' :: forall a h . ToHtml' a h
109
+ button' ∷ ∀ a h . ToHtml' a h
110
110
button' nodeData = createButtonNode (toNode nodeData) []
111
111
112
- div :: forall a b h . ToHtml a b h
112
+ div ∷ ∀ a b h . ToHtml a b h
113
113
div nodeData children = createViewNode (toNode nodeData) $ toNode children
114
114
115
- div_ :: forall b h . ToHtml_ b h
115
+ div_ ∷ ∀ b h . ToHtml_ b h
116
116
div_ children = createViewNode [] $ toNode children
117
117
118
- div' :: forall a h . ToHtml' a h
118
+ div' ∷ ∀ a h . ToHtml' a h
119
119
div' nodeData = createViewNode (toNode nodeData) []
120
120
121
121
img ∷ ∀ a h . ToHtml' a h
122
122
img nodeData = createImageNode (toNode nodeData)
123
123
124
- table :: forall a b h . ToHtml a b h
124
+ table ∷ ∀ a b h . ToHtml a b h
125
125
table nodeData children = createTableNode (toNode nodeData) $ toNode children
126
126
127
- table_ :: forall b h . ToHtml_ b h
127
+ table_ ∷ ∀ b h . ToHtml_ b h
128
128
table_ children = createTableNode [] $ toNode children
129
129
130
- table' :: forall a h . ToHtml' a h
130
+ table' ∷ ∀ a h . ToHtml' a h
131
131
table' nodeData = createTableNode (toNode nodeData) []
132
132
133
- tr :: forall a b h . ToHtml a b h
133
+ tr ∷ ∀ a b h . ToHtml a b h
134
134
tr nodeData children = createTrNode (toNode nodeData) $ toNode children
135
135
136
- tr_ :: forall b h . ToHtml_ b h
136
+ tr_ ∷ ∀ b h . ToHtml_ b h
137
137
tr_ children = createTrNode [] $ toNode children
138
138
139
- tr' :: forall a h . ToHtml' a h
139
+ tr' ∷ ∀ a h . ToHtml' a h
140
140
tr' nodeData = createTrNode (toNode nodeData) []
141
141
142
- td :: forall a b h . ToHtml a b h
142
+ td ∷ ∀ a b h . ToHtml a b h
143
143
td nodeData children = createViewNode (toNode nodeData) $ toNode children
144
144
145
- td_ :: forall b h . ToHtml_ b h
145
+ td_ ∷ ∀ b h . ToHtml_ b h
146
146
td_ children = createViewNode [] $ toNode children
147
147
148
- td' :: forall a h . ToHtml' a h
148
+ td' ∷ ∀ a h . ToHtml' a h
149
149
td' nodeData = createViewNode (toNode nodeData) []
150
150
151
151
-- h1 ∷ ∀ a b h. ToHtml a b h
@@ -229,7 +229,6 @@ td' nodeData = createViewNode (toNode nodeData) []
229
229
-- i' ∷ ∀ a h. ToHtml' a h
230
230
-- i' = createElement' "i"
231
231
232
-
233
232
label ∷ ∀ a b h . ToHtml a b h
234
233
label nodeData children = createLabelNode (toNode nodeData) $ toNode children
235
234
@@ -305,7 +304,6 @@ label' nodeData = createLabelNode (toNode nodeData) []
305
304
-- strong' ∷ ∀ a h. ToHtml' a h
306
305
-- strong' = createElement' "strong"
307
306
308
-
309
307
-- table ∷ ∀ a b h. ToHtml a b h
310
308
-- table = createElement "table"
311
309
0 commit comments