hydra.lib.defaults module

A module which provides a single map from primitive names to their default, cross-compilable reference implementations, for primitives which declare one.

hydra.lib.defaults.default_implementations() Mapping[Name, Term]

A map from primitive name to default (cross-compilable) reference implementation, for primitives which declare one. Each value is an encoded (reified) term; decode it to recover the executable implementation.