mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-26 17:01:35 +01:00
Add glossay entry for effect syntax
This commit is contained in:
1 parent
3923bb9637
commit
770b1203f4
1 file changed
+4
@@ -20,6 +20,10 @@ An extension of the type system, such as purity (freedom from side effects),
|
|||||||
applied to functions. See the [effects](/doc/note/effects.md) note for more
|
applied to functions. See the [effects](/doc/note/effects.md) note for more
|
||||||
details.
|
details.
|
||||||
|
|
||||||
|
Syntactically, effects are the exclamation and question marks, `!` and `?`, at
|
||||||
|
function definitions and function calls. These denote impure and
|
||||||
|
[coroutine](/doc/note/coroutines.md) functions.
|
||||||
|
|
||||||
#### Fact
|
#### Fact
|
||||||
|
|
||||||
A boolean expression (e.g. `x > y`) that happens to be true at a given point in
|
A boolean expression (e.g. `x > y`) that happens to be true at a given point in
|
||||||
|
|||||||
Reference in new issue
Block a user