Module partial::environment[][src]

Environment is constituted of a state named env that is never lost (even if the partial data is equal to Nothing). It behaves similarly to Partial but the binders (e.g. and_then) take two parameters: the environment and the unwrapped partial data. This structure is useful to implement compiler where env contains the configuration and data the compilation context.

Structs

Environment