Open
Description
The most important functions in pyk that operate on KAST terms (e.g. KAST-to-KORE, KAST-to-JSON, etc.) are implemented iteratively to avoid stack overflow on deeply nested objects. However, we're still getting stack overflows from the standard library.
KORE has {left,right}-assoc
to avoid deeply nested object graphs. We need a similar solution for KAST.