svn replacement for git stash
My New MVC Metaphor: The Command Line

Comments

Feed You can follow this conversation by subscribing to the comment feed for this post.

Fredrik Rubensson

Nice. Stuff like this makes me continue believe in programming.

unclebob

Can you make this tail recursive

Ben Rady

Sure can:

https://www.benrady.com/2009/12/katarubytail-recursive-prime-factors.html

Srikanth P Shreenivas

This is really amazing. After staring this code for few minutes, I realized that the trick here is the fact that any number can be expressed as factors of only prime numbers and nothing else.

The comments to this entry are closed.