Tags » Lazy Evaluation

Working at being lazy

As teased in the previous article, suppose you want a new kind of lazy evaluation. You want to be able to generate a lazy sequence that represents the first n values of a container. 1,016 more words


Lazy by name, lazy by nature

When last we discussed lazy collections and sequences, I opened the article with an “ah-hah-hah, this doesn’t do what you might assume” number.1… 1,219 more words


Lambda calculus and the fixed point combinator in chemlambda (V)

This is the 5th  (continuing from part I  and part II  and part III and part IV)   in a series of expository posts where we put together in one place the pieces from various places about: 2,366 more words

Graphic Lambda Calculus

Swift's Lazy Collections and Sequences

Warning: this article is out of date as of beta 4. New version coming soon, follow @airspeedvelocity to catch it.

The Swift non-member function map… 785 more words


Python Generators (Part 1)

Having just discussed Python’s iterators and iterables (Parts 1 2 and 3), now is a good time to discuss a smarter, sleeker way of dealing with long (or infinite) lists of values to iterate over. 292 more words