Library Hours
Monday to Friday: 9 a.m. to 9 p.m.
Saturday: 9 a.m. to 5 p.m.
Sunday: 1 p.m. to 9 p.m.
Naper Blvd. 1 p.m. to 5 p.m.
     
Limit search to available items
Results Page:  Previous Next
Author Schrijvers, Tom, author.

Title Soar with Haskell [electronic resource] : The Ultimate Beginners' Guide to Mastering Functional Programming from the Ground Up / Tom Schrijvers.

Edition 1st edition.
Imprint Birmingham : Packt Publishing, Limited, 2023.
QR Code
Description 1 online resource (418 p.)
Note Description based upon print version of record.
Contents Cover -- Title page -- Copyright and credits -- Dedication -- Contributors -- Table of contents -- Preface -- Part 1: Basic Functional Programming -- Chapter 1: Functions -- Technical requirements -- What is FP? -- Programming with functions -- Brief history of FP -- Haskell -- Other contemporary FP languages -- Prominent application areas -- Writing basic functions -- Our first function -- A two-parameter function -- Custom operators -- Programming with primitive types -- Int and Integer -- Float and Double -- Booleans -- Char and String -- Converting between primitive types
Putting the type checker to work -- Checking function calls -- Checking function definitions -- Disambiguating overloaded functions -- Inferring types -- Combining functions -- Calling functions from within functions -- Naming intermediate results -- Local function definitions -- Summary -- Questions -- Further reading -- Answers -- Chapter 2: Algebraic Datatypes -- Enumerations -- A game of rock-paper-scissors -- Don't-care patterns -- Booleans revisited -- Records -- People -- Named fields -- Nested records -- Full-blown algebraic datatypes -- Shapes -- Cards -- Showing cards
scParametric polymorphism -- The identity function -- The constant function -- Parametric ADTs -- Tuples -- Type synonyms -- Maybe -- Either -- The unit type -- Summary -- Questions -- Answers -- Chapter 3: Recursion -- Standard libraries -- Lists -- List syntax -- List syntax desugared -- Predefined list functions -- List comprehensions -- Strings revisited -- Custom list processing -- Recursive datatypes -- Arithmetic expressions -- Parametric recursive datatypes -- Structural recursion -- Structural recursion on lists -- Structural recursion on other algebraic datatypes
Variants on structural recursion -- Primitive recursion -- Recursion on integers -- Additional parameters -- Varying parameters and the worker/wrapper structure -- Accumulation -- Recursion on nested datatypes -- Mutual recursion -- Simultaneous recursion on multiple structures -- Combining variations -- Non-structural recursion -- Non-termination -- Unbounded search -- Summary -- Questions -- Answers -- Chapter 4: Higher-Order Functions -- Abstracting over functions -- Dropping a prefix -- Sorting in ascending and descending order -- An abstraction for structural recursion -- Folding lists
Folds for other algebraic datatypes -- Variations on structural recursion -- Common HOFs -- Taking instead of dropping -- Mapping -- Filtering -- Any and all -- Folding from the left -- Scanning left and right -- Writing compact code with HOF -- Standard deviation -- Odds and evens -- All you can buy -- Summary -- Questions -- Answers -- Part 2: Haskell-Specific Features -- Chapter 5: First-Class Functions -- Anonymous functions -- Anonymous function syntax -- Anonymous function use -- Multi-parameter anonymous functions -- Pattern matching without equations -- Currying and partial application
Note One parameter is enough
Summary 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.
Subject Haskell (Computer program language)
Functional programming (Computer science)
Haskell (Langage de programmation)
Programmation fonctionnelle.
Genre Electronic books.
Other Form: Print version: Schrijvers, Tom Soar with Haskell Birmingham : Packt Publishing, Limited,c2023
ISBN 9781805122562
1805122568
Patron reviews: add a review
Click for more information
EBOOK
No one has rated this material

You can...
Also...
- Find similar reads
- Add a review
- Sign-up for Newsletter
- Suggest a purchase
- Can't find what you want?
More Information