globalsΒΆ

Methods for handling global state.

Functions

map_global(callback_func, *args, **kwargs)

Call a function with the current global state as its first argument.

with_global(initial_state, callback_func, ...)

Call a Guppy function in a context where map_global() provides global state.