Haskell Cookbook

Yogesh Sajanikar

  • 出版商: Packt Publishing
  • 出版日期: 2017-09-22
  • 售價: $2,180
  • 貴賓價: 9.5$2,071
  • 語言: 英文
  • 頁數: 396
  • 裝訂: Paperback
  • ISBN: 1786461358
  • ISBN-13: 9781786461353
  • 相關分類: Functional-programming
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Key Features

  • Comprehensive guide for establishing a strong foundation in Haskell and developing pragmatic code.
  • Coverage of data streams that will consume and process large amounts of data in constant space.
  • Using Existential types to approximate OOP inheritance in an idiomatic fashion.

Book Description

Haskell is a purely functional language that has the great ability to develop large and difficult softwares that are easily maintainable. Haskell Cookbook provides recipes that start by illustrating the principles of functional programming in Haskell, and then gradually build up your expertise in creating industrial strength programs to accomplish any goal. The book covers topics like Functors, Applicative and Monads and Transformers. You will learn various ways of handling state in your application and explore advanced topics such as Generalized Algebraic Data Types, Higher kind types, Existential types, and Type families. The book will discuss the association of lenses with typeclasses such as Functor, Foldable and Traversable that will help you manage deep data structures. With the help of the wide selection of examples in this book, you will be able to upgrade your Haskell programming skills and develop scalable software idiomatically.

What you will learn

  • Use functional data structures and algorithms to solve problems
  • Understand the intricacies of the type system
  • Create a simple parser for integer expressions with additions.
  • Build high performance web services with Haskell.
  • Mechanisms for concurrency and parallelism in Haskell.
  • Perform parsing, how to process large amounts of data and to handle scarce resources like filesystem handles.
  • Organize your programs by creating your own types, type classes.

商品描述(中文翻譯)

《Haskell Cookbook》

主要特點



  • 全面指南,幫助建立 Haskell 的堅實基礎並開發實用的程式碼。

  • 涵蓋處理大量資料並在恆定空間中消耗和處理資料流的技巧。

  • 使用存在型別以符合物件導向繼承的慣用方式。

書籍描述


Haskell 是一種純函數式語言,具有開發大型且複雜的軟體並易於維護的強大能力。《Haskell Cookbook》提供了一系列的範例,從介紹 Haskell 的函數式編程原則開始,逐步建立您在創建工業級程式時的專業知識,以實現任何目標。本書涵蓋了函子、應用函子、單子和變換器等主題。您將學習處理應用程式中的狀態的各種方法,並探索高級主題,如廣義代數資料型別、高階型別、存在型別和型別族。本書還將討論將鏡頭與函子、可摺疊和可遍歷等型別類別關聯起來,以幫助您管理深層資料結構。通過本書中豐富的範例,您將能夠提升您的 Haskell 編程技能,並以慣用方式開發可擴展的軟體。

你將學到什麼



  • 使用函數式資料結構和演算法解決問題

  • 了解型別系統的細節

  • 建立一個簡單的整數表達式解析器

  • 使用 Haskell 建立高效能的網路服務

  • 在 Haskell 中實現並行和平行處理機制

  • 進行解析,處理大量資料並處理像檔案系統處理程序這樣的稀缺資源

  • 通過創建自己的型別和型別類別來組織程式