stanch / reftree

Automatically generated diagrams and animations for Scala data structures
http://stanch.github.io/reftree/
GNU General Public License v3.0
587 stars 36 forks source link

Add Animation.iterateUntilFixPoint and Animation.iterateUntil #10

Closed hejfelix closed 7 years ago

hejfelix commented 7 years ago

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.?

hejfelix commented 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.

stanch commented 7 years ago

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):

Hope this works for you :)

stanch commented 7 years ago

Released in 1.1.1.