Skip to main content

Web Applications

  • Chapter
  • First Online:
Practical Haskell
  • 2059 Accesses

Abstract

Throughout the book, you’ve been preparing for this moment: you know how to save information about clients and products, and you know a couple of algorithms to mine that data for interesting patterns. Now it’s time to create an interface for clients to make purchases. This data will be the input to K-means and Apriori.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 34.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    In the previous edition of this book, the Scotty framework was introduced instead of Spock. Whereas they are both very similar in nature and usage, Spock uses stronger types and thus can detect more errors at compile-time. This highlights better the benefit of using Haskell.

  2. 2.

    At the moment of writing, there is an issue which makes it hard to install Spock. In case you get an error message about STMContainers, add as an additional dependency stm-containers < 0.3 to your Cabal file. One of the cons of the strongly typed approach to software taken by Haskell is that changes in dependencies may break a previously working package.

  3. 3.

    The gloss library uses the same concepts but oriented to 2-D games in Haskell.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Alejandro Serrano Mena

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Serrano Mena, A. (2019). Web Applications. In: Practical Haskell. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-4480-7_12

Download citation

Publish with us

Policies and ethics