You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit introduces a trampoline-style approach to reification. It's essentially
inspired by the miniKanren stream processing alongside which this library is
primarily employed. The main difference is that this implementation employs
the `Generator.send` method instead of callables (i.e. goals in miniKanren).
It removes reliance on the Python stack and, as a result, is much more scalable.
Also, it provides a mechanism through which substructures can be traversed but
not reconstructed.
Additions/extensions to the reification functions must follow the `yield`
paradigm when recursively calling `_reify` and precede object construction
with `yield construction_sentinel` to signify that substructure reification
is occurring next (i.e. so that the caller can prevent it, if desired).
Closespythological#13 and closespythological#10.
Long chains of logic variable associations cause
RecursionErrors
during reification (and possibly elsewhere):The results is
unification
needs some form of TCO.The text was updated successfully, but these errors were encountered: