Book Image

Fundamentals of Practical Haskell Programming [Video]

By : Richard Cook
Book Image

Fundamentals of Practical Haskell Programming [Video]

By: Richard Cook

Overview of this book

Haskell is a powerful and well-designed functional programming language designed to work with complex data. Its emphasis on "purity" makes it easier to create rock-solid applications which stay maintainable and error-free even as they grow in scale. This video course will take you through all the concepts of functional programming (FP) and Haskell language. First we’ll address all the problems with FP and Haskell. Then we’ll help you distinguish the difference between FP and Haskell. We’ll then guide you through Haskell in depth. We’ll help you create your first Haskell program. You’ll then be given a brief insight into GHCi (Glasgow Haskell Compiler). Later we’ll explore the different values, expressions and programs in Haskell in depth. By the end of this course you’ll have a foundation set-up to start writing your own Haskell programs and also have ample knowledge of the important functionalities of Haskell.
Table of Contents (4 chapters)
Chapter 4
Haskell in Depth
Content Locked
Section 3
Algebraic Data Types
We’ve looked at built-in types and values and functions that use them; you need to learn how to define our own composite data types. This will use Haskell’s support for user-defined algebraic data types. - Learn about sum types and their syntax - Learn about product types, their syntax, and record syntax - Learn about Haskell’s predefined algebraic data types