Soar with Haskell: The ultimate beginners' guide to mastering functional programming from the ground up
暫譯: 與 Haskell 一起翱翔:從零開始掌握函數式編程的終極新手指南
Schrijvers, Tom
- 出版商: Packt Publishing
- 出版日期: 2023-12-22
- 售價: $1,910
- 貴賓價: 9.5 折 $1,815
- 語言: 英文
- 頁數: 418
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1805128450
- ISBN-13: 9781805128458
-
相關分類:
Functional-programming、SOA
海外代購書籍(需單獨結帳)
商品描述
Build powerful software solutions and develop proficiency in Haskell, from understanding the foundational principles through to mastering advanced functional programming concepts
Key Features:
- Learn from an expert lecturer and researcher who knows all the ins and outs of Haskell
- Develop a clear understanding of Haskell, from the basics through to advanced concepts
- Get to grips with all the key functional programming techniques
- Purchase of the print or Kindle book includes a free PDF eBook
Book Description:
With software systems reaching new levels of complexity and programmers aiming for the highest productivity levels, software developers and language designers are turning toward functional programming because of its powerful and mature abstraction mechanisms. This book will help you tap into this approach with Haskell, the programming language that has been leading the way in pure functional programming for over three decades.
The book begins by helping you get to grips with basic functions and algebraic datatypes, and gradually adds abstraction mechanisms and other powerful language features. Next, you'll explore recursion, formulate higher-order functions as reusable templates, and get the job done with laziness. As you advance, you'll learn how Haskell reconciliates its purity with the practical need for side effects and comes out stronger with a rich hierarchy of abstractions, such as functors, applicative functors, and monads. Finally, you'll understand how all these elements are combined in the design and implementation of custom domain-specific languages for tackling practical problems such as parsing, as well as the revolutionary functional technique of property-based testing.
By the end of this book, you'll have mastered the key concepts of functional programming and be able to develop idiomatic Haskell solutions.
What You Will Learn:
- Write pure functions in all their forms - that is basic, recursive, and higher-order functions
- Model your data using algebraic datatypes
- Master Haskell's powerful type-class mechanism for ad hoc overloading
- Find out how Haskell's laziness gets the job done
- Reconcile Haskell's functional purity with side effects
- Familiarize yourself with the functor, applicative functor, monad hierarchy
- Discover how to solve problems with domain-specific languages
- Find more bugs with Haskell's property-based testing approach
Who this book is for:
If you are a programmer looking to gain knowledge of Haskell who's never been properly introduced to functional programming, this book is for you. Basic experience with programming in a non-functional language is a prerequisite. This book also serves as an excellent guide for programmers with limited exposure to Haskell who want to deepen their understanding and foray further into the language.
商品描述(中文翻譯)
建立強大的軟體解決方案,並在 Haskell 中發展專業技能,從理解基礎原則到掌握進階的函數式程式設計概念
主要特色:
- 向一位精通 Haskell 的專家講師和研究者學習,了解 Haskell 的所有細節
- 從基礎到進階概念,清楚理解 Haskell
- 掌握所有關鍵的函數式程式設計技術
- 購買印刷版或 Kindle 書籍可獲得免費 PDF 電子書
書籍描述:
隨著軟體系統達到新的複雜程度,程式設計師追求最高的生產力,軟體開發者和語言設計者正轉向函數式程式設計,因為它擁有強大且成熟的抽象機制。本書將幫助您利用 Haskell 這種在純函數式程式設計領域領先三十多年的程式語言。
本書首先幫助您掌握基本函數和代數資料型別,然後逐步增加抽象機制和其他強大的語言特性。接下來,您將探索遞迴,將高階函數表述為可重用的模板,並利用懶惰來完成任務。隨著進步,您將學習 Haskell 如何調和其純粹性與實際需要的副作用,並透過豐富的抽象層次(如函子、應用函子和單子)變得更強大。最後,您將了解這些元素如何在設計和實現自定義領域特定語言中結合,以解決實際問題,例如解析,以及革命性的基於屬性的測試技術。
在本書結束時,您將掌握函數式程式設計的關鍵概念,並能夠開發符合 Haskell 語法的解決方案。
您將學到什麼:
- 以各種形式編寫純函數——即基本函數、遞迴函數和高階函數
- 使用代數資料型別建模您的資料
- 掌握 Haskell 強大的型別類機制以進行臨時重載
- 了解 Haskell 的懶惰如何完成任務
- 調和 Haskell 的函數純粹性與副作用
- 熟悉函子、應用函子和單子的層次結構
- 發現如何使用領域特定語言解決問題
- 透過 Haskell 的基於屬性的測試方法找到更多錯誤
本書適合誰:
如果您是一位程式設計師,想要了解 Haskell,但從未正確接觸過函數式程式設計,那麼這本書適合您。對於非函數式語言的基本程式設計經驗是先決條件。本書也為對 Haskell 接觸有限的程式設計師提供了優秀的指南,幫助他們深化理解並進一步探索這門語言。