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 3
Exploring Haskell
Content Locked
Section 4
Debugging with GHCi
Haskell employs a non-strict evaluation strategy which can be strange for newcomers to the language. Furthermore, we will inevitably write buggy code. GHCi has useful debugging capabilities that can allow to address both of these concerns. - Learn about the location of GHCi’s configuration file and set up a GHCi session for debugging - Set breakpoints, run code, examine bindings including unevaluated thunks - Show bindings, breakpoints, list program source code, abandon sessions, and quit