Skip to Content
Learn Haskell by Example
book

Learn Haskell by Example

by Philipp Hagenlocher
December 2024
Beginner content levelBeginner
456 pages
13h 37m
English
Manning Publications
Content preview from Learn Haskell by Example

8 A tool for CSV

This chapter covers

  • Parsing numerical values from text
  • Defining and using foldings on data structures
  • Using the Functor type class and its functionality to deal with errors
  • Creating a simple command-line parsing interface

In the last chapter, we started building the backbone for an application that can work with CSV files. This chapter is concerned with finishing the project and providing functionality for parsing and printing our Csv data type.

The chapter will continue where we left off by showcasing very important concepts, such as the Functor type class and folding, to make you familiar with core functional programming concepts. We close the chapter by bringing all of these newly learned skills together in a short ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Get Programming with Haskell

Get Programming with Haskell

Will Kurt
Haskell in Depth

Haskell in Depth

Vitaly Bragilevsky

Publisher Resources

ISBN: 9781633438934Supplemental ContentPublisher SupportOtherPublisher WebsiteSupplemental ContentErrata PagePurchase Link