Skip to content

Commit 72457e2

Browse files
committed
Clarify what is meant by a binary function
1 parent 122751b commit 72457e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

language/Syntax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ This is equivalent to:
277277

278278
Operators in PureScript are just regular binary functions. In particular, no operators are built into the language; an overview of operators defined in libraries such as the `Prelude` is therefore outside the scope of this reference.
279279

280-
Operators can be defined by providing an operator alias for an existing function (which must be binary, i.e. of the form `a -> b -> c`). For example:
280+
Operators can be defined by providing an operator alias for an existing function (which must be binary, i.e. its type must be of the form `a -> b -> c`). For example:
281281

282282
``` purescript
283283
data List a = Nil | Cons a (List a)

0 commit comments

Comments
 (0)