Beginning Haskell: A Project-Based Approach (Paperback)
暫譯: Haskell 入門:專案導向方法 (平裝本)
Alejandro Serrano Mena
- 出版商: Apress
- 出版日期: 2014-01-24
- 售價: $1,920
- 貴賓價: 9.5 折 $1,824
- 語言: 英文
- 頁數: 428
- 裝訂: Paperback
- ISBN: 1430262508
- ISBN-13: 9781430262503
-
相關分類:
Functional-programming
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$550$468 -
$820$648 -
$680$537 -
$1,710$1,625 -
$680$537 -
$590$502 -
$650$514 -
$60$57 -
$680$578 -
$80$76 -
$560$437 -
$560$442 -
$780$616 -
$600$588 -
$500$450 -
$560$442 -
$450$356 -
$550$435 -
$480$379 -
$620$484 -
$490$387 -
$380$342 -
$580$383 -
$680$537 -
$580$458
相關主題
商品描述
Beginning Haskell provides a broad-based introduction to the Haskell language, its libraries and environment, and to the functional programming paradigm that is fast growing in importance in the software industry. The book takes a project-based approach to learning the language that is unified around the building of a web-based storefront. Excellent coverage is given to the Haskell ecosystem and supporting tools. These include the Cabal build tool for managing projects and modules, the HUnit and QuickCheck tools for software testing, the Scotty framework for developing web applications, Persistent and Esqueleto for database access, and also parallel and distributed programming libraries.
Functional programming is gathering momentum, allowing programmers to express themselves in a more concise way, reducing boilerplate and increasing the safety of code. Indeed, mainstream languages such as C# and Java are adopting features from functional programming, and from languages implementing that paradigm. Haskell is an elegant and noise-free pure functional language with a long history, having a huge number of library contributors and an active community. This makes Haskell the best tool for both learning and applying functional programming, and Beginning Haskell the perfect book to show off the language and what it can do.
- Takes you through a series of projects showing the different parts of the language.
- Provides an overview of the most important libraries and tools in the Haskell ecosystem.
- Teaches you how to apply functional patterns in real-world scenarios.
What you’ll learn
- Build small and large projects using the Haskell language.
- Profit from ecosystem tools such as Cabal, HLint, and QuickCheck.
- Implement efficient stream I/O via libraries like Conduit.
- Parallelize code to run on multiple processors or distributed across a network.
- Create domain-specific languages useable by business users, and to tackle specific problem domains.
- Build Haskell-backed websites using database and web-application libraries such as Persistent, Esqueleto, and Scotty
Who this book is for
Beginning Haskell is for programmers new to functional programming, who want to learn this new paradigm and how it can improve the quality of their code. Beginning Haskell is also a great choice for functional programmers wanting to get a taste of the Haskell ecosystem and its unique features, or who wish to learn about advanced type system features and patterns.
Table of Contents
Part I: First Steps
1. Going Functional
2. Declaring the Data Model
3. Reusing Code through Lists
4. Using Containers and Type Classes
5. Laziness and Infinite Structures
Part II: Data Mining
6. Knowing Your Clients Using Monads
7. More Monads: Now for Recommendations
8. Parallelizing the Execution
Part III: Resource Handling
9. Dealing with Files: IO and Conduit
10. Builders and Parsers
11. Safe Database Access
12. Web Applications
Part IV: Domain Specific Languages
13. Strong Types
14. Attribute Grammars
Part V: Engineering the Store
15. Documenting, Testing, and Verifying
16. Architecting Your Application
商品描述(中文翻譯)
《開始學習 Haskell》提供了對 Haskell 語言、其庫和環境的廣泛介紹,以及在軟體產業中日益重要的函數式程式設計範式。這本書採用基於專案的學習方法,圍繞建立一個基於網路的商店進行統一的學習。對 Haskell 生態系統和支援工具的優秀覆蓋包括 Cabal 建構工具,用於管理專案和模組,HUnit 和 QuickCheck 工具,用於軟體測試,Scotty 框架,用於開發網路應用程式,Persistent 和 Esqueleto 用於資料庫存取,以及平行和分散式程式設計庫。
函數式程式設計正在獲得動力,讓程式設計師能以更簡潔的方式表達自己,減少樣板程式碼並提高程式碼的安全性。事實上,主流語言如 C# 和 Java 正在採用來自函數式程式設計及實現該範式的語言的特性。Haskell 是一種優雅且無噪音的純函數式語言,擁有悠久的歷史,擁有大量的庫貢獻者和活躍的社群。這使得 Haskell 成為學習和應用函數式程式設計的最佳工具,而《開始學習 Haskell》則是展示這種語言及其功能的完美書籍。
- 帶你通過一系列專案展示語言的不同部分。
- 提供 Haskell 生態系統中最重要的庫和工具的概述。
- 教你如何在現實世界的情境中應用函數式模式。
你將學到的內容:
- 使用 Haskell 語言構建小型和大型專案。
- 利用生態系統工具,如 Cabal、HLint 和 QuickCheck。
- 通過 Conduit 等庫實現高效的串流 I/O。
- 將程式碼平行化以在多個處理器上運行或分散在網路上。
- 創建可供業務使用者使用的特定領域語言,以解決特定問題領域。
- 使用資料庫和網路應用程式庫(如 Persistent、Esqueleto 和 Scotty)構建 Haskell 支援的網站。
本書適合對象:
《開始學習 Haskell》適合對函數式程式設計感興趣的新程式設計師,想要學習這一新範式及其如何改善程式碼質量。《開始學習 Haskell》也是希望了解 Haskell 生態系統及其獨特特性,或希望學習進階型別系統特性和模式的函數式程式設計師的絕佳選擇。
目錄:
**第一部分:第一步**
1. 走向函數式
2. 宣告資料模型
3. 通過列表重用程式碼
4. 使用容器和型別類別
5. 懶惰與無限結構
**第二部分:資料挖掘**
6. 使用 Monad 瞭解你的客戶
7. 更多 Monad:現在進行推薦
8. 平行化執行
**第三部分:資源處理**
9. 處理檔案:I/O 和 Conduit
10. 建構器和解析器
11. 安全的資料庫存取
12. 網路應用程式
**第四部分:特定領域語言**
13. 強型別
14. 屬性文法
**第五部分:商店工程**
15. 文件編寫、測試和驗證
16. 應用程式架構設計