• Skip to main content
  • Skip to footer

PurelyFunctional.tv

  • Learn Clojure
  • About
  • 🛒 Cart
  • Log in
Lazy sequences

Want this course?

Buy for $75
Download
 Video time: 05m02s
PREVIOUS
NEXT

Want this course?

Buy for $75

Lazy sequences

Course: Clojure Collections

Published October 24, 2018

Description

Lazy sequences are a complex issue with a lot of gotchas. I'd like you to understand how they work and know that you could have them passed to your function. Can you handle them?

Next Lesson

14 min

Collections vs sequences

When I first was learning Clojure, something was confusing: some operations, like map, took the collection as the last argument, and some, like conj, took the collection as the first argument. It was frustrating. But then I learned that they are in two different categories of functions. Learning that fact helped me be more productive in the language.

Course: Clojure Collections

0 / 34
0 / 34
 
Lessons
 
Introduction to Clojure's Collections
 
5 min 
 
Data structures
 
8 min 
 
Vector collection
 
24 min 
 
HashMap collection
 
30 min 
 
Set collection
 
19 min 
 
List collection
 
12 min 
 
Queue collection
 
11 min 
 
Sorted Map collection
 
11 min 
 
Sorted Set collection
 
7 min 
 
Access patterns
 
8 min 
 
Sequential Access Pattern
 
26 min 
 
Remembering Duplicates Access Pattern
 
16 min 
 
Lookup by key Access Pattern
 
12 min 
 
Associate key and value Access Pattern
 
19 min 
 
Dissociate a key and value Access Pattern
 
4 min 
 
Count the elements Access Pattern
 
6 min 
 
Equality Comparison Access Pattern
 
12 min 
 
Removing an item from a set Access Pattern
 
8 min 
 
Splitting a sequence Access Pattern
 
8 min 
 
Containment Check Access Pattern
 
9 min 
 
First-in, first-out Access Pattern
 
12 min 
 
Last-in, First-out Access Pattern
 
6 min 
 
Usage patterns
 
2 min 
 
Entity Usage Pattern
 
17 min 
 
Index Usage Pattern
 
18 min 
 
Tuple Usage Pattern
 
21 min 
 
Multi-comparison Usage Pattern
 
11 min 
 
Transients
 
11 min 
 
Usage in an Atom
 
17 min 
 
Hybrid Collections
 
11 min 
 
Hybrid Types
 
27 min 
 
Vectors and Lists in syntax
 
6 min 
 
Lazy sequences
 
5 min 
 
Collections vs sequences
 
14 min 

Footer CTA

Level up your Clojure skills

The PurelyFunctional.tv Newsletter is a weekly email that helps you improve your Clojure skills through challenges, tips, and news.

Enter your email address to receive emails about Clojure and Functional Programming. These include the weekly newsletter and occasional offers. You can unsubscribe any time.

Copyright © 2021 LispCast and Eric Normand