Module Pike.Lazy
- Description
This module provides lazy resolving of functions.
- Example
The expression
Pike.Lazy.Standards.JSON.decode
will evaluate to Standards.JSON.decode, but the resolution (and associated compilation) of Standards.JSON will be delayed until the first time that the expression is evaluated.- Note
Note that this destroys type information and delays resolver errors.
Typical use is to break circular compilation dependencies between modules.