Skip to content

Commit

Permalink
Update CODINGSTYLE.md
Browse files Browse the repository at this point in the history
Co-authored-by: Egbert Rijke <[email protected]>
  • Loading branch information
fredrik-bakke and EgbertRijke authored Oct 9, 2023
1 parent 49a2643 commit d1c7049
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions CODINGSTYLE.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,8 @@ strategic endeavour to ensure the longevity, vitality, and success of the
a = construction-of-a
```

- **Lambda expressions**: We always wrap lambda expressions in parentheses, even
if it is the last argument of a function and thus isn't strictly required to
be parenthesized.
- **Lambda expressions**: When a lambda expression appears as the argument of a function, we always wrap it in parentheses. We do this even if it is the last argument of a function, and thus isn't strictly required to
be parenthesized. Note that in some rare cases, a lambda expression might appear at the top level. In this case we don't require the lambda expression to be parenthesized.

There are multiple syntaxes for writing lambda expressions in Agda. Generally,
you have the following options:
Expand Down

0 comments on commit d1c7049

Please sign in to comment.