Clojure Data Structures and Algorithms Cookbook

Rafik Naccache

  • 出版商: Packt Publishing
  • 出版日期: 2015-08-23
  • 售價: $1,570
  • 貴賓價: 9.5$1,492
  • 語言: 英文
  • 頁數: 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.

商品描述(中文翻譯)

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

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

關於本書

- 探索各種高級算法,並了解它們如何應用於解決許多現實世界的計算挑戰
- 使用令人印象深刻的技巧,包括zippers、解析和模式匹配,構建優雅的解決方案
- 通過採用創新方法(如邏輯或異步編程)解決複雜問題

適合閱讀對象

本書適合中級Clojure開發人員,能夠相當自如地閱讀和寫作這種語言。此外,假設您對如何設置Clojure項目、包含依賴項、運行REPL等方面有一些了解,並通過Leiningen和Figwheel進行操作。不需要事先了解本書中涵蓋的任何算法,並且在適當的時候,會提供有關相關理論的解釋材料的指引。

您將學到什麼

- 探索傳統數據結構(如數組和鏈表)的替代用途
- 探索高級機器學習和優化技術
- 利用Clojure庫,如Instaparse用於解析、core.match用於模式匹配、clojure.zip用於zippers和clojure.matrix用於矩陣操作
- 通過core.logic庫學習邏輯編程
- 使用core.async庫掌握異步編程
- 在解決現實世界的用例時觀察transducers

詳細內容

Clojure是一種高度實用的語言,具有高效且易於操作數據的能力。這為我們提供了一個機會,可以輕鬆地探索許多具有挑戰性和多樣化的算法主題,同時使用一些非常創造性的方法。

在本書中,我們將發現傳統數據結構(數組、鏈表和樹)的替代用途,涵蓋一些機器學習和優化技術,甚至深入探討一些創新的算法問題解決方法,如邏輯編程、異步編程或使用高級函數構造,即transducers或繼續傳遞風格。