Home Page Icon
Home Page
Table of Contents for
Title Page
Close
Title Page
by Aaron Bedra, Stuart Halloway, Alex Miller
Programming Clojure, 3rd Edition
 Acknowledgments
 Introduction
Who This Book Is For
What’s in This Book
How to Read This Book
Notation Conventions
Web Resources and Feedback
Downloading Sample Code
1. Getting Started
Simplicity and Power in Action
Clojure Coding Quick Start
Navigating Clojure Libraries
Wrapping Up
2. Exploring Clojure
Reading Clojure
Functions
Vars, Bindings, and Namespaces
Metadata
Calling Java
Comments
Flow Control
Where’s My for Loop?
Wrapping Up
3. Unifying Data with Sequences
Everything Is a Sequence
Using the Sequence Library
Lazy and Infinite Sequences
Clojure Makes Java Seq-able
Calling Structure-Specific Functions
Wrapping Up
4. Functional Programming
Functional Programming Concepts
How to Be Lazy
Lazier Than Lazy
Recursion Revisited
Eager Transformations
Wrapping Up
5. Specifications
Defining Specs
Validating Data
Validating Functions
Generative Function Testing
Wrapping Up
6. State and Concurrency
Concurrency, Parallelism, and Locking
Refs and Software Transactional Memory
Use Atoms for Uncoordinated, Synchronous Updates
Use Agents for Asynchronous Updates
Managing Per-Thread State with Vars
A Clojure Snake
Wrapping Up
7. Protocols and Datatypes
Programming to Abstractions
Interfaces
Protocols
Datatypes
Records
reify
Wrapping Up
8. Macros
When to Use Macros
Writing a Control Flow Macro
Making Macros Simpler
Taxonomy of Macros
Wrapping Up
9. Multimethods
Living Without Multimethods
Defining Multimethods
Moving Beyond Simple Dispatch
Creating Ad Hoc Taxonomies
When Should I Use Multimethods?
Wrapping Up
10. Java Interop
Creating Java Objects in Clojure
Calling Clojure From Java
Exception Handling
Optimizing for Performance
A Real-World Example
Wrapping Up
11. Building an Application
Getting Started
Developing the Game Loop
Representing Progress
Implementing Players
Interactive Play
Documenting and Testing Your Game
Farewell
 Bibliography
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Next
Next Chapter
Programming Clojure, Third Edition
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset