3 ms·
You're right, there actually are more. Interesting, I "feel" the opposite. Haskell (55 + some more, because of the grouping): https://wiki.haskell.org/Keywords
by ReleaseCandidat 3y ago
You're right, there actually are more. Interesting, I "feel" the opposite.
Haskell (55 + some more, because of the grouping):
https://wiki.haskell.org/Keywords https://wiki.haskell.org/Keywords
F#
https://learn.microsoft.com/en-us/dotnet/fsharp/language-reference/keyword-reference https://learn.microsoft.com/en-us/dotnet/fsharp/language-ref...
OCaml:
https://v2.ocaml.org/manual/lex.html#sss:keywords https://v2.ocaml.org/manual/lex.html#sss:keywords
Python:
https://github.com/python/cpython/blob/3.12/Lib/keyword.py https://github.com/python/cpython/blob/3.12/Lib/keyword.py
Java (I think these are the current ones):
https://docs.oracle.com/javase/tutorial/java/nutsandbolts/_keywords.html https://docs.oracle.com/javase/tutorial/java/nutsandbolts/_k...
- elbear 3y agoA few of the Haskell ones are introduced by extensions, so they're not part of the language proper.
- ReleaseCandidat 3y agoYes, I know. Same for OCaml with PPXs. That was just to show that even Haskell has many, even though most operators aren't keywords but "normal" infix functions (of type classes).
- elbear 3y ago> even though most operators aren't keywords but "normal" infix functions yes, that is also important to mention