Paperback

Haskell Design Patterns

Take your Haskell and functional programming skills to the next level by exploring new idioms and design patterns

$88.99
  • Paperback

    166 pages

  • Release Date

    6 November 2015

Check Delivery Options

Summary

Take your Haskell and functional programming skills to the next level by exploring new idioms and design patternsKey FeaturesExplore Haskell on a higher level through idioms and patternsGet an in-depth look into the three strongholds of Haskell: higher-order functions, the Type system, and Lazy evaluationExpand your understanding of Haskell and functional programming, one line of executable code at a timeBook DescriptionDesign patterns and idioms can widen our perspective byshowing us where to look, what to look at, and ultimatelyhow to see what we are looking at. At their best, patternsare a shorthand method of communicating better waysto code (writing less, more maintainable, and moreefficient code)This book starts with Haskell 98 and through the lens ofpatterns and idioms investigates the key advances andprogramming styles that together make “modern Haskell”.Your journey begins with the three pillars of Haskell.Then you’ll experience the problem with Lazy I/O, togetherwith a solution. You’ll also trace the hierarchy formedby Functor, Applicative, Arrow, and Monad. Next you’llexplore how Fold and Map are generalized by Foldableand Traversable, which in turn is unified in a broadercontext by functional Lenses. You’ll delve more deeply intothe Type system, which will prepare you for an overviewof Generic programming. In conclusion you go to theedge of Haskell by investigating the Kind system andhow this relates to Dependently-typed programmingWhat you will learnUnderstand the relationship between the “Gang of Four” OOP Design Patterns and Haskell.Try out three ways of Streaming I/O: imperative, Lazy, and Iteratee based.Explore the pervasive pattern of Composition: from function composition through to high-level composition with Lenses.Synthesize Functor, Applicative, Arrow and Monad in a single conceptual framework.Follow the grand arc of Fold and Map on lists all the way to their culmination in Lenses and Generic Programming.Get a taste of Type-level programming in Haskell and how this relates to dependently-typed programming.Retrace the evolution, one key language extension at a time, of the Haskell Type and Kind systems.Place the elements of modern Haskell in a historical framework.Who this book is forIf you’re a Haskell programmer with a firm grasp of the basics and ready to move more deeply into modern idiomatic Haskell programming, then this book is for you.

Book Details

ISBN-13:9781783988723
ISBN-10:178398872X
Author:Ryan Lemmer
Publisher:Packt Publishing Limited
Imprint:Packt Publishing Limited
Format:Paperback
Number of Pages:166
Release Date:6 November 2015
Weight:299g
Dimensions:191mm x 235mm
A-Format
B-Format
C-Format
Haskell Design Patterns by Ryan Lemmer - ISBN: 9781783988723
191 × 235 mm
A4
mm / in
About The Author

Ryan Lemmer

Ryan Lemmer is software maker, coach, and strategic advisor based in Cape Town. With a background in mathematics and computer science and 20 years of developing software in the trenches, Ryan remains inspired and humbled by the process of creating and evolving software. Ryan is a polyglot programmer, who prefers to think in Haskell. He loves to learn and facilitate learning for others.

Returns

This item is eligible for free returns within 30 days of delivery. See our returns policy for further details.