Clojure Data Structures and Algorithms Cookbook
暫譯: Clojure 資料結構與演算法食譜

Rafik Naccache

  • 出版商: Packt Publishing
  • 出版日期: 2015-08-23
  • 售價: $1,590
  • 貴賓價: 9.5$1,511
  • 語言: 英文
  • 頁數: 216
  • 裝訂: Paperback
  • ISBN: 1785281453
  • ISBN-13: 9781785281457
  • 相關分類: JVM 語言Algorithms-data-structures
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

25 recipes to deeply understand and implement advanced algorithms in Clojure

25 recipes to deeply understand and implement advanced algorithms in Clojure

About This Book

  • Explore various advanced algorithms and learn how they are used to address many real-world computing challenges
  • Construct elegant solutions using impressive techniques including zippers, parsing, and pattern matching
  • Solve complex problems by adopting innovative approaches such as logic or asynchronous programming

Who This Book Is For

This book is for intermediate Clojure developers who can read and write in this language quite comfortably. Besides, it is assumed that you have some knowledge of how to set up Clojure projects, include dependencies, how to run REPLs, and so on through Leiningen and Figwheel. No prior awareness of any of the algorithms covered in this book is needed, and, when appropriate, pointers are given to the explanation material about any theory related to them.

What You Will Learn

  • Explore alternative uses of classical data structures such as arrays and linked lists
  • Explore advanced machine learning and optimization techniques
  • Utilize the Clojure libraries, such as Instaparse for parsing, core.match for pattern matching, clojure.zip for zippers, and clojure.matrix for matrix operations
  • Learn logic programming through the core.logic library
  • Master asynchronous programming using the core.async library
  • Observe transducers while resolving real-world use cases

In Detail

Clojure is a highly pragmatic language with efficient and easy data manipulation capabilities. This provides us with an opportunity to easily explore many challenging and varied algorithmic topics, while using some extremely creative methods.

In this book, we'll discover alternative uses for classical data structures (arrays, linked lists, and trees), cover some machine learning and optimization techniques, and even delve into some innovative ways of approaching algorithmic problem solving, such as logic programming, asynchronous programming or the usage of advanced functional constructs, namely transducers or the continuation passing style.

商品描述(中文翻譯)

25 個食譜深入理解並實現 Clojure 中的高級演算法

關於本書



  • 探索各種高級演算法,了解它們如何用於解決許多現實世界的計算挑戰

  • 使用令人印象深刻的技術構建優雅的解決方案,包括拉鍊(zippers)、解析(parsing)和模式匹配(pattern matching)

  • 通過採用創新的方法,如邏輯編程或非同步編程,解決複雜問題

本書適合誰


本書適合中級 Clojure 開發者,他們能夠相當自如地閱讀和編寫這種語言。此外,假設您對如何設置 Clojure 專案、包含依賴項、如何運行 REPL 等有一定的了解,這些都是通過 Leiningen 和 Figwheel 進行的。對於本書中涵蓋的任何演算法,並不需要事先了解,並且在適當的情況下,會提供指向相關理論解釋材料的指引。

您將學到什麼



  • 探索經典資料結構(如陣列和鏈結串列)的替代用法

  • 探索高級機器學習和優化技術

  • 利用 Clojure 函式庫,如 Instaparse 進行解析、core.match 進行模式匹配、clojure.zip 進行拉鍊操作,以及 clojure.matrix 進行矩陣運算

  • 通過 core.logic 函式庫學習邏輯編程

  • 使用 core.async 函式庫掌握非同步編程

  • 在解決現實世界的使用案例時觀察轉換器(transducers)

詳細內容


Clojure 是一種高度務實的語言,具有高效且易於操作的數據處理能力。這使我們能夠輕鬆探索許多具有挑戰性和多樣化的演算法主題,同時使用一些極具創意的方法。


在本書中,我們將發現經典資料結構(陣列、鏈結串列和樹)的替代用法,涵蓋一些機器學習和優化技術,甚至深入探討一些創新的演算法問題解決方法,如邏輯編程、非同步編程或使用高級函數構造,特別是轉換器或延續傳遞風格(continuation passing style)。