From the course: Learning Haskell Programming

Unlock this course with a free trial

Join today to access over 22,400 courses taught by industry experts.

Creating a project with Stack

Creating a project with Stack - Haskell Tutorial

From the course: Learning Haskell Programming

Creating a project with Stack

- In this section, we're going to look at developing a word game. So in this section, we're going to look at creating a new project with dependencies and libraries using stack. We'll see how to print out data structures, we'll look at searching lists and transforming them with tools like map, and we'll have a look at unit testing with Hspec. What do I mean by creating a word game? Well, let's have a look at this grid, which might seem, on first sight, to be a jumble of random letters. But if you look more closely at it, you'll see that some of these letters do, in fact, form words. And you might spot the word "Haskell." So, in fact, this is a grid full of the names of programming languages, and you'll see other ones. For example, there's "Perl," but written backwards. There isn't a programming language called "Lrep." We've also got words written vertically, like "Python," and just to make things a little harder for the person solving, and for us writing the code, we'll also have words…

Contents