You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The types `Author`, `Reviewer`, `RichContent`, `Image`, `Gif`, `List`, `Char`,
169
-
`Letter`, `Number` and `Punctuation` have been declared as sum types in the
170
-
LamdaBuffers schema using the `sum` keyword.
136
+
The types `Author`, `Reviewer`, `RichContent`, `Image`, `Gif`, and `List` have been declared as sum types in the LamdaBuffers schema using the `sum` keyword.
171
137
172
-
As we can see, notihing too surprising here, all the `sum` types become `data`
173
-
inhaskell.
138
+
As we can see, nothing too surprising here, all the `sum` types become `data`
139
+
in Haskell.
174
140
175
141
The only thing to notice is that the type name was prepended with `'` (single
176
142
quote) to the defined constructor names as to make sure they are unique.
@@ -196,11 +162,9 @@ instance Data.Show.Show String where
196
162
197
163
## Sum types
198
164
199
-
The types `Author`, `Reviewer`, `RichContent`, `Image`, `Gif`, `List`, `Char`,
200
-
`Letter`, `Number` and `Punctuation` have been declared as sum types in the
201
-
LamdaBuffers schema using the `sum` keyword.
165
+
The types `Author`, `Reviewer`, `RichContent`, `Image`, `Gif`, and `List` have been declared as sum types in the LamdaBuffers schema using the `sum` keyword.
202
166
203
-
As we can see, notihing too surprising here, all the `sum` types become `data`
167
+
As we can see, nothing too surprising here, all the `sum` types become `data`
204
168
in Purescript.
205
169
206
170
The only thing to notice is that the type name was prepended with `'` (single
0 commit comments