Closed hejfelix closed 7 years ago
Oh wait, I still need to skip the frames.length > 0 check. I'll fix and commit this when I get the chance.
Sorry for the delay! I took the liberty to rebase your changes on master and squash them into a single commit (633c63cfe014d831daec9fd6f2de03d94c080476). I also did some tweaking on top of that (31f0e7315c6c4a68422e43ecd4d2d6df1fe2da6c):
iterateUntil
with iterateWhile
, as we discussed somewhere. I think this is more flexible, and one can add an extra frame after that if desired.iterateToFixpoint
implementation so that it does not compute the function twice per iteration.Hope this works for you :)
Released in 1.1.1
.
My biggest trouble right now is that "until" means exclusive in the standard library, and now we are using it for an inclusive operation. Should we rename it all to "iterateToFixPoint" etc.?