Skip to content

Commit 4a25fb1

Browse files
authored
Merge pull request #27 from Crell/fcc
Add First Class Closure rules
2 parents 0774582 + 2a70cb1 commit 4a25fb1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

spec.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -724,6 +724,12 @@ $someInstance
724724
->run();
725725
```
726726

727+
### 4.8 Function Callable References
728+
729+
A function or method may be referenced in a way that creates a closure out of it, by providing `...` in place of arguments.
730+
731+
If so, the `...` MUST NOT include any whitespace before or after. That is, the correct format is `foo(...)`.
732+
727733
## 5. Control Structures
728734

729735
The general style rules for control structures are as follows:

0 commit comments

Comments
 (0)