Skip to content
0:00 / 0:00

#clojure#lazy-sequences#recursion

Avoid infinite recursion with lazy sequences (Clojure rand-nth repeat cons lazy-seq repeatedly take)

Fred Overflow

4.2K subscribers • 15 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Fred Overflow

Intermediate. Assumes working knowledge.

1.3K views6 years ago1 recommendation

Programming languagesComputer scienceLisp and ClojureFunctional programming

Fred Overflow explains how to use lazy sequences in Clojure to avoid infinite recursion when generating sequences.

The uploader added no description.

Why it's here

1 person recommends this

What people say. Recommended as a clear explanation of handling lazy sequences and recursion in Clojure.

Moments people linked to

u/JavaSuckin r/Clojure • Recommends

Avoid infinite recursion with lazy sequences

u/midnitetunain r/Clojure • Mentions

On “Avoid infinite recursion with lazy sequences”

It's mentioned in the video at around link to this video
3View on Reddit

u/JavaSuckin r/Clojure • Mentions

On “New Clojurians: Ask Anything”

Avoid infinite recursion with lazy sequences and Eager vs lazy infinite sequences in Java may be worth watching.

u/JavaSuckin r/Clojure • Mentions

On “"too much recursion" error in ClojureScript in forming a tree”

> I'll try implementing the lazy-seq option and see if it helps. Avoid infinite recursion with lazy sequences