Skip to content

Commit efd76be

Browse files
authored
Update Syntax.md
1 parent b97c182 commit efd76be

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/Syntax.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ The parser is used by the [repl](./Repl.md).
55

66
### Syntax
77

8+
This section describes the syntax rules enforced by the parser. These go beyond what is required by the underlying data in some respects. For instance, the names of named expressions and lambda terms are merely strings as far as the data constructors are concerned. But the parser requires that the names of named expressions begin with a capital letter, whereas lambda variables must begin with lower-case letters.
9+
810
Simple named expressions are introduced with the `let` keyword and end with a semi-colon. Note that expression names must begin with a capital letter, while lambda terms begin with lower-case letters.
911

1012
````haskell

0 commit comments

Comments
 (0)