Soar with Haskell
eBook - ePub

Soar with Haskell

The ultimate beginners' guide to mastering functional programming from the ground up

  1. 418 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Soar with Haskell

The ultimate beginners' guide to mastering functional programming from the ground up

About this book

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.

]]>

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Soar with Haskell by Tom Schrijvers in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming Languages. We have over one million books available in our catalogue for you to explore.

Table of contents

  1. Soar with Haskell
  2. Contributors
  3. Preface
  4. Part 1:Basic Functional Programming
  5. 1
  6. 2
  7. 3
  8. 4
  9. Part 2: Haskell-Specific Features
  10. 5
  11. 6
  12. 7
  13. 8
  14. Part 3: Functional Design Patterns
  15. 9
  16. 10
  17. 11
  18. 12
  19. Part 4: Practical Programming
  20. 13
  21. 14
  22. 15
  23. 16
  24. Index
  25. Other Books You May Enjoy