Skip to content

Commit

Permalink
Update enum.md
Browse files Browse the repository at this point in the history
Haskell uses data. OCaml and F# do use type, and SML does use datatype. There is no "data" in any ML that I know.
  • Loading branch information
ShalokShalom authored and ehuss committed Aug 27, 2024
1 parent 0635f91 commit 3e35b90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/enum.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Enum types cannot be denoted *structurally* as types, but must be denoted by
named reference to an [`enum` item].

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

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

0 comments on commit 3e35b90

Please sign in to comment.