Soar with Haskell
eBook Details:
- Paperback: 418 pages
- Publisher: WOW! eBook (December 22, 2023)
- Language: English
- ISBN-10: 1805128450
- ISBN-13: 978-1805128458
eBook Description:
Soar with Haskell: Build powerful software solutions and develop proficiency in Haskell, from understanding the foundational principles through to mastering advanced functional programming concepts
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.
- 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
By the end of this Soar with Haskell book, you’ll have mastered the key concepts of functional programming and be able to develop idiomatic Haskell solutions.