kw rand
Contextual keyword — the effect list after the return type (§6.2)
The list of words: §1.4
Syntax
Effect = "io" | "net" | "db" | "time" | "rand" | Ident ;Grammar: App. A
Defined in
- 6.2 Effects — The set of effects is written after the return type, comma-separated
- 1.4 Keywords — Reserved (cannot be used as names)
- 11.2 Database transaction — The body is executed in a transaction of the database db.
- 15.1 comptime — A comptime fn is executed only at compile time; comptime { …
Related diagnostics
effects, atomic-db-effects, cross-shard-tx, comptime-error, not-comptime