Harness the power of functional programming with advanced Haskell concepts
About This Video
Dive into various important features such as IO, distributed programming, and Functional Reactive Programming
Learn the best practices in Haskell and alternative solutions to real-world situations
Explore powerful parallel algorithms, and build interactive applications using functional reactive programming
Haskell is a lazy, purely-functional programming language with a very precise type system. Each of these features make Haskell quite different from mainstream object-oriented programming languages, which is where Haskell's appeal and its difficulty lie.
In this course, you’ll discover different ways to structure interactions between the program and the outside world. We’ll look at some subtler aspects of the IO monad, such as lazy IO and unsafePerformIO. In addition to the IO monad, we’ll also check out two other structured forms of interaction: streaming libraries and functional reactive programming.
Then we explore parallel, concurrent, and distributed programming. Thanks to purity, Haskell is especially well-suited for the first two, and so there are a number of approaches to cover. As for distributed programming, we focus on the idea of splitting a large monolithic program into smaller microservices, asking whether doing so is a good idea. We’ll also consider a different way of interacting with other microservices, and explore an alternative to microservices.
By the end of this course, you’ll have an in-depth knowledge of various aspects of Haskell, allowing you to make the most of functional programming in Haskell.
Table of Contents
- Chapter 1 : Tracking Side-Effects Using IO
Chapter 2 : Chaining Side-Effects Using Streaming
- Pure Streaming Using Lazy Lists 00:09:53
- Composing Finite and Infinite Streams 00:10:14
- Who's Driving? Push, Pull… or Both! 00:10:09
- Transforming Effectful Streams Using the Free Monad 00:08:09
- Chapter 3 : Interactive Applications Using Functional Reactive Programming
- Chapter 4 : Parallel Programming in Haskell
- Chapter 5 : Concurrent Programming in Haskell
Chapter 6 : Distributed Programming in Haskell
- Combinator Libraries 00:11:31
- Monad Transformers 00:10:37
- Nesting Architectures 00:09:16
- Precise Types, Program Boundaries, and Microservices 00:10:45
- Optimizing Microservice Requests Using Haxl 00:07:56
- Distributed Concurrent Programming Using Cloud Haskell 00:08:43
- CRDTs, Type Class Laws, and Eventual Consistency 00:12:54
- Title: Mastering Haskell Programming
- Release date: February 2017
- Publisher(s): Packt Publishing
- ISBN: 9781786465016