TL;DR
- Karthikeyan A K が書き、Web で無料公開している Clojure の入門書。GFDL で配布されている。
- 環境構築とデータ構造から始めて、関数、Spec、シーケンス、マクロ、Java との連携、Leiningen のプロジェクトまでを扱う。
対象読者
本の「Prerequisite」では、コンピュータの操作に慣れていることを前提にしている。環境には Ubuntu GNU/Linux を勧めている。
目次
章の番号は 2025-09-29 版のもの。読書メモは 2023 年の版で取ったので、当時の版とは番号がずれている。
- Installing Stuff
- Hosted Language
- First Steps
- Data Structures
- Reading Clojure Documentation
- Logic and comparison
- Conditions and branching
- Loops
- Functions
- Debugging With Calva
- Spec
- atom
- What is Clojure code
- Sequence
- Lazy Sequence
- map, filter, reduce, apply
- Destructuring
- Threading Macros
- Regular Expression
- Splitting Large Programs
- Records and Protocols
- Namespaces
- Exception Handling
- Testing
- Macros
- Java Power
- Projects With Leiningen
- Private Functions
- Debugging in Leiningen project with Calva and nREPL
- File Operations
- Java Files in Clojure Project
- JAR files in Clojure project
- Creating Your Own Libraries
- Metadata