OxL Reference

kw lazy

Reserved keyword

The list of words: §1.4

Syntax

ebnf
Param       = { Attr } [ "lazy" ] [ "..." ] Ident ":" Type [ "=" Expr ] ;

Grammar: App. A

Defined in

  • 6.3 Calling suspendable functions — A call of a suspendable function in statement position or in an ordinary expression executes immediately; the current task waits for the res
  • 8.3 Task — Task<T, E> is a lazy computation.
  • 8.4 Chains — A chain links asynchronous steps so that either the whole chain is executed or the first unhandled error is returned.
  • 1.4 Keywords — Reserved (cannot be used as names)

Related diagnostics

task-reuse, it-outside-chain

See also