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
Copy file name to clipboardExpand all lines: language/Syntax.md
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -97,6 +97,15 @@ multiply x y = x * y
97
97
98
98
Type signatures are not required for top-level declarations in general, but is good practice to do so. See the section on types for more details.
99
99
100
+
## Function and Value names
101
+
102
+
Function and value names must start with a lowercase letter ([unicode category](https://en.wikipedia.org/wiki/Unicode_character_property#General_Category)`Ll`) or underscore `_`. The following characters may be any number of:
103
+
* Letter: Unicode category `L`
104
+
* Mark: Unicode category `M`
105
+
* Number: Unicode category `N`
106
+
* Underscore: `_`
107
+
* Apostrophe: `'`
108
+
100
109
## Function application
101
110
102
111
Function application is indicated by just the juxtaposition of a function with its arguments:
0 commit comments