• Skip to main content
  • Skip to footer

PurelyFunctional.tv

  • Learn Clojure
  • About
  • 🛒 Cart
  • Log in
Queue collection

Want this course?

$499.00 – Team License Checkout Added to cart
$75.00 – Download License Checkout Added to cart
$48.00 – Online License Checkout Added to cart
Membership
Download
 Video time: 10m30s
PREVIOUS
NEXT

Want this course?

$499.00 – Team License Checkout Added to cart
$75.00 – Download License Checkout Added to cart
$48.00 – Online License Checkout Added to cart
Membership

Queue collection

Course: Clojure Collections

Updated October 24, 2018

Description
Code

Queues are not used very often in Clojure. There is no literal syntax and there are more performant, mutable, thread-safe queues available when you need to communicate between threads. However, sometimes it's exactly what you need. Queues are ordered sequential collections that add to the end and remove from the beginning.

Buy this course to view the code.

Next Lesson

11 min

Sorted Map collection

Sorted Maps are just like HashMaps but they keep their keys sorted. You can pass in a comparator to the constructor to define a custom sort order.

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

Get the newsletter for free

The PurelyFunctional.tv Newsletter is a weekly email to inspire functional programmers.

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

Copyright © 2021 LispCast and Eric Normand