Open awf opened 3 years ago
https://github.com/microsoft/knossos-ksc/blob/59f0954f5f31b6cd6ab9b3fe140cb197209b6576/src/runtime/knossos.h#L1419
fold is now:
z = input for i.. z = f(alloc, z, v[i]) return z
should be one of
mark() z = input for i.. z = f(alloc, z, v[i]) reset() return copydown(z)
or
mark() z = input for i.. z = f(alloc, z, v[i]) if heap getting full: reset() z = copydown(z) reset() return copydown(z)
https://github.com/microsoft/knossos-ksc/blob/59f0954f5f31b6cd6ab9b3fe140cb197209b6576/src/runtime/knossos.h#L1419
fold is now:
should be one of
or