Writing Haskell Programs
What you'll learn
- See the edit, build, execute, and test cycle your code
- Discover what Cabal files are for
- Use the Stack build tool and hints and tips
- Find out how to create modules
- Understand how to use modules to organize programs
- Get to know how to import symbols from modules
- See how to search packages on Hackage and Stackage
- Use packages from Hackage and Stackage
- Discover how to publish your own packages
- Explore some useful and popular Haskell packages
- Some comfort with introductory Haskell programming is expected.
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.
About the Author
Richard Cook is a staff software engineer at Tableau Software and works on high-performance relational database systems. He works primarily in C++, but has experience in a broad range of languages and technologies. He is a keen user of Haskell in his spare time and is frequently able to apply his functional programming and Haskell experience to his daily work. He is organizer of the Seattle Area Haskell Users’ Group and an active member of the Seattle functional programming community. He is currently developing a machine-learning framework for Haskell.
He has a deep interest in programming languages and type systems in general, having developed compilers and developer tooling in the past. He is also a keen user of Python and C# and works regularly on all major desktop operating systems and dabbles with web applications.
Who this course is for:
- This course is for developers who already have experience with one or more programming languages, particularly object-oriented languages such as C++, Java, and C#.
Packt are an established, trusted, and innovative global technical learning publisher, founded in Birmingham, UK with over eighteen years experience delivering rich premium content from ground-breaking authors and lecturers on a wide range of emerging and established technologies for professional development.
Packt’s purpose is to help technology professionals advance their knowledge and support the growth of new technologies by publishing vital user focused knowledge-based content faster than any other tech publisher, with a growing library of over 9,000 titles, in book, e-book, audio and video learning formats, our multimedia content is valued as a vital learning tool and offers exceptional support for the development of technology knowledge.
We publish on topics that are at the very cutting edge of technology, helping IT professionals learn about the newest tools and frameworks in a way that suits them.