Book Image

Writing Haskell Programs [Video]

By : Richard Cook
Book Image

Writing Haskell Programs [Video]

By: Richard Cook

Overview of this book

Haskell is a powerful, purely functional programming language that allows developers to express their designs elegantly and succinctly. Modern Haskell tools such as Cabal and Stack also allow developers to build and manage large and complex systems and to consume a vast array of high-quality open source libraries. First we will start this course by learning how to edit , build and test our Haskell code. Then we will learn how to create modules in Haskell. We will learn about the various Haskell repositories and how to use them.Once we have our Haskell package in place we will end by testing our package using third-party ecosystems. This course builds on the foundations provided by the Fundamentals of Practical Haskell Programming course and helps to bridge the gap between introductory and advanced Haskell by teaching you how to manage and develop complex programs. We'll also dispel the myth that Haskell is only useful for toy programs. This course covers the important parts of the Haskell development process that are frequently neglected by beginner-level tutorials.
Table of Contents (3 chapters)
Chapter 1
Edit, Build, Execute, and Test Cycles
Content Locked
Section 3
Cabal Files
Cabal is the industry-standard method of building nontrivial Haskell packages. - Build up minimal Cabal files from scratch - Add a library target to an existing cabal-based package - Add a test target to an existing .cabal-based package