Skip to content

Commit 3e35b90

Browse files
ShalokShalomehuss
authored andcommitted
Update enum.md
Haskell uses data. OCaml and F# do use type, and SML does use datatype. There is no "data" in any ML that I know.
1 parent 0635f91 commit 3e35b90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types/enum.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Enum types cannot be denoted *structurally* as types, but must be denoted by
1616
named reference to an [`enum` item].
1717

1818
[^enumtype]: The `enum` type is analogous to a `data` constructor declaration in
19-
ML, or a *pick ADT* in Limbo.
19+
Haskell, or a *pick ADT* in Limbo.
2020

2121
[`enum` item]: ../items/enumerations.md
2222
[struct expression]: ../expressions/struct-expr.md

0 commit comments

Comments
 (0)