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

16 JSON and SQL

This chapter covers

  • Parsing and serializing JSON
  • Deriving typeclasses, using Generic
  • Using SQLite databases with our programs

In previous chapters, we have gotten to know many techniques and concepts in Haskell and built quite a few tools using them. Now, it is time to use everything we learned to realize a larger project. This and the following chapter function as a showcase for building an application with Haskell talking to a database and the network, providing a type-safe HTTP/JSON API. Additionally, we will automatically derive a client application for our API to safely interface with it. We will get to know a few new packages that will help us realize this.

This chapter starts with a discussion on working with ...

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