eBooks-it.org Logo
eBooks-IT.org Inner Image

Beginning Haskell

A Project-Based Approach

Beginning Haskell Image

Book Details:

Publisher:Apress
Series: Apress , Beginning
Author:Alejandro Serrano Mena
Edition:1
ISBN-10:1430262508
ISBN-13:9781430262503
Pages:428
Published:Jan 22 2014
Posted:Nov 19 2014
Language:English
Book format:PDF
Book size:4.51 MB

Book Description:

Beginning Haskell provides a broad-based introduction to the Haskell language, its libraries and environment, and to the functional programming paradigm that is fast growing in importance in the software industry. The book takes a project-based approach to learning the language that is unified around the building of a web-based storefront. Excellent coverage is given to the Haskell ecosystem and supporting tools. These include the Cabal build tool for managing projects and modules, the HUnit and QuickCheck tools for software testing, the Scotty framework for developing web applications, Persistent and Esqueleto for database access, and also parallel and distributed programming libraries.Functional programmingisgathering momentum,allowing programmers to express themselves in a more concise way, reducing boilerplate and increasing the safety of code. Indeed, mainstream languages such as C# and Java are adopting features from functional programming, and from languages implementing that paradigm. Haskell is an elegant and noise-free pure functional language with a long history, having a huge number of library contributors and an active community. This makes Haskell the best tool for both learning and applying functional programming, and Beginning Haskell the perfect book to show off the language and what it can do. Takes you through a series of projects showing the different parts of the language. Provides an overview of the most important libraries and tools in the Haskell ecosystem. Teaches you how to apply functional patterns in real-world scenarios. What youll learnBuild small and large projects using the Haskell language. Profit from ecosystem tools such as Cabal, HLint, and QuickCheck. Implement efficient stream I/O via libraries like Conduit. Parallelize code to run on multiple processors or distributed across a network. Create domain-specific languages useable by business users, and to tackle specific problem domains. Build Haskell-backed websites using database and web-application libraries such as Persistent, Esqueleto, and ScottyWho this book is for Beginning Haskell is for programmers new to functional programming, who want to learn this new paradigm and how it can improve the quality of their code. Beginning Haskell is also a great choice for functional programmers wanting to get a taste of the Haskell ecosystem and its unique features, or who wish to learn about advanced type system features and patterns. Table of ContentsPart I: First Steps1. Going Functional2. Declaring the Data Model3. Reusing Code through Lists4. Using Containers and Type Classes5. Laziness and Infinite StructuresPart II: Data Mining6. Knowing Your Clients Using Monads7. More Monads: Now for Recommendations8. Parallelizing the ExecutionPart III: Resource Handling9. Dealing with Files: IO and Conduit10. Builders and Parsers11. Safe Database Access12. Web ApplicationsPart IV: Domain Specific Languages13. Strong Types14. Attribute GrammarsPart V: Engineering the Store15. Documenting, Testing, and Verifying16. Architecting Your Application

Download Link:

Related Books:

Developing Web Applications with Haskell and Yesod

Developing Web Applications with Haskell and Yesod Image
This fast-moving guide introduces web application development with Haskell and Yesod, a potent language/framework combination that supports high-performing applications that are modular, type-safe, and concise. You'll work with several samples to explore the way Yesod handles widgets, forms, persistence, and RESTful content. You also get an introduction to various Haskell tools to supplement your basic knowledge of the language.By the time you finish this book, you'll create a production-quality web application with Yesod's ready-to-use scaffolding. You'll also examine several real-world examples, including a blog, a wiki, a JSON web service, and a Sphinx search server.Build a simple application to learn Yesod's foundation datatype and Web Applicatio...

Parallel and Concurrent Programming in Haskell

Techniques for Multicore and Multithreaded Programming
Parallel and Concurrent Programming in Haskell Image
If you have a working knowledge of Haskell, this hands-on book shows you how to use the language's many APIs and frameworks for writing both parallel and concurrent programs. You'll learn how parallelism exploits multicore processors to speed up computation-heavy programs, and how concurrency enables you to write programs with threads for multiple interactions. Author Simon Marlow walks you through the process with lots of code examples that you can run, experiment with, and extend. Divided into separate sections on Parallel and Concurrent Haskell, this book also includes exercises to help you become familiar with the concepts presented:Express parallelism in Haskell with the Eval monad and Evaluation Strategies Parallelize ordinary Haskell code with...

Haskell Financial Data Modeling and Predictive Analytics

Haskell Financial Data Modeling and Predictive Analytics Image
Get an in-depth analysis of financial time series from the perspective of a functional programmer Overview Understand the foundations of financial stochastic processes Build robust models quickly and efficiently Tackle the complexity of parallel programming In Detail Haskell is one of the three most influential functional programming languages available today along with Lisp and Standard ML. When used for financial analysis, you can achieve a much-improved level of prediction and clear problem descriptions. Haskell Financial Data Modeling and Predictive Analytics is a hands-on guide that employs a mix of theory and practice. Starting with the basics of Haskell, this book walks you through the mathematics involved and how this is implemented in Hask...



2007 - 2021 © eBooks-IT.org