This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.
Prime streams Home 🌙 Prime streams This is a continuation of my post Operating on infinite lists which walks you through writing a primitive “Stream” datatype to represent infinite lists of values. Consider scanning through it, but I’ll do a quick refresher. In this post I’ll use them for one of my favorite recursion tricks – generating lists of prime numbers ( SICP 3.5.2 ). 🔗 Recap A stream is…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.