O'Reilly logo

Haskell Financial Data Modeling and Predictive Analytics by Pavel Ryzhov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Persistent ORM framework

There are a number of various Haskell bindings to the database interface, though most of them operate in the world of RDBMS and don't cooperate properly with the language itself. This means that all parsing and type-safety enforcements are up to the developer's will. This approach is not mistake-proof and requires a lot of boilerplate code that is hard to write and to maintain.

The ORM framework Persistent takes a different approach and tries to maintain type-safety and declarative syntax as much as possible. Also Persistent has other nice features. For instance, it easily adopts such NoSQL data stores such as MongoDB and CouchDB, because it is not focused on relational data models, and it makes the database framework agnostic. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required