Get started with Haskell. Learn the basics of this functional programming language by exploring Haskell using an interactive interpreter, and developing a full project—a word game.
(keyboard keys clicking) - [Instructor] Welcome to learning Haskell, a series of tutorial videos on the Haskell programming language. My name's Hakim Cassimally. I've worked as a software developer for around 15 years. I guess that means that I'm allowed to call myself a veteran software developer, and throughout that time I've programmed in various languages. For example, at the moment I'm largely working with XQuery and Clojure which are both functional programming languages, but also with Perl and Python.
Two languages which are generally considered to be more practical and less academic than functional programming languages. In this course, I'm going to try to steer a path between those two extremes. We're going to look at Haskell. A language which has a little bit of a reputation for being academic, but that doesn't mean that it's not practical, or that it's hard to learn. We're going to really look at many examples. I think practical, hands-on experimentation is really the best way to cement our understanding.
This course is structured into four sections. In this first section, we're going to install Haskell, and we're going to use a tool chain called Stack. In the first of those videos, I'll explain why Stack, and there are several other optional videos which detail how to install Haskell with Stack for your operating system. In section two, getting started with Haskell, we're going to explore the language using the interactive interpreter.
We will crack open a text editor at some point, but largely we're going to be typing in expressions and seeing what they evaluate and really getting a feel for the kind of things that Haskell can do. Then in section three and four, we're going to actually develop a full project. We're going to develop a word game. One of those word search games. We'll see in more detail in section three. We're going to start off by just setting up a project and looking at the data modeling, but in section four, we will finally fit all of those pieces together, and we'll make it playable.
At the end of this course, I hope that you will have a good understanding of the basics of Haskell and a feel for what are the next steps. I really hope that you enjoy this journey into learning Haskell. As we go through the course, I'll be developing some simple code and a more complete project. If you'd like to follow along, all of the code is available on my GitHub repository at github.com/osfameron/words.
Thank you, and I hope you enjoy this series of videos.
Note: This course was created by Packt Publishing. We are pleased to host this training in our library.
- Discovering Haskell with GHCI
- Haskell datatypes and functions
- Using higher order functions for data manipulation and code reuse
- Editing Haskell source code
- Creating a project with Stack
- Writing and conducting tests