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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 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.
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.
The gloss library uses the same concepts but oriented to 2-D games in Haskell.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2019 Alejandro Serrano Mena
About this chapter
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
DOI: https://doi.org/10.1007/978-1-4842-4480-7_12
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-4479-1
Online ISBN: 978-1-4842-4480-7
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books