Exploring infinite sequences
Infinite sequences can make some algorithms (like numerical analysis) more clear by allowing common code to be reused. Haskell’s lazy evaluation makes infinite sequences easy in that language, but it’s possible in Ruby, with a little work.
Post a comment