TL;DR

  • Karthikeyan A K が書き、Web で無料公開している Clojure の入門書。GFDL で配布されている。
  • 環境構築とデータ構造から始めて、関数、Spec、シーケンス、マクロ、Java との連携、Leiningen のプロジェクトまでを扱う。

対象読者

本の「Prerequisite」では、コンピュータの操作に慣れていることを前提にしている。環境には Ubuntu GNU/Linux を勧めている。

目次

章の番号は 2025-09-29 版のもの。読書メモは 2023 年の版で取ったので、当時の版とは番号がずれている。

  1. Installing Stuff
  2. Hosted Language
  3. First Steps
  4. Data Structures
  5. Reading Clojure Documentation
  6. Logic and comparison
  7. Conditions and branching
  8. Loops
  9. Functions
  10. Debugging With Calva
  11. Spec
  12. atom
  13. What is Clojure code
  14. Sequence
  15. Lazy Sequence
  16. map, filter, reduce, apply
  17. Destructuring
  18. Threading Macros
  19. Regular Expression
  20. Splitting Large Programs
  21. Records and Protocols
  22. Namespaces
  23. Exception Handling
  24. Testing
  25. Macros
  26. Java Power
  27. Projects With Leiningen
  28. Private Functions
  29. Debugging in Leiningen project with Calva and nREPL
  30. File Operations
  31. Java Files in Clojure Project
  32. JAR files in Clojure project
  33. Creating Your Own Libraries
  34. Metadata

関連