Chapter 3
Getting and Using Haskell
IN THIS CHAPTER
Obtaining and using Haskell
Using GHCi and WinGHCi
Writing Haskell code
Finding additional information
The first sections of this chapter discuss the goals behind the Haskell installation for this book, help you obtain a copy of Haskell, and then show you how to install Haskell on any one of the three supported book platforms: Linux, Mac, and Windows. Overall, this chapter focuses on providing you with the simplest possible installation so that you can clearly see how the functional programming paradigm works. You may eventually find that you need a different installation to meet specific needs or tool requirements.
After you have Haskell installed, you perform some simple coding tasks using it. The main purpose of writing this code is to verify that your copy of Haskell is working properly, but it also helps familiarize you with Haskell just a little. A second example helps you become familiar with using Haskell libraries, which is important when viewing the examples in this book.
Get Functional Programming For Dummies now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.