Epilogue

Christopher Alexander, the father of design patterns in architecture, describes a pattern as a solution "you can use a million times over, without ever doing it the same way twice". In our case, we've looked at high level design patterns to lower level idioms and everything in between.

This book has been the story of modern Haskell through the lens of patterns. We saw that Haskell is evolving along several fronts:

  • libraries that deal with specific domains for example Iteratee Streaming IO libraries, Foldable, Traversable, the Lens library
  • type system language extensions, for example, Rank-n types, existential and phantom types, GADTs, functional dependencies
  • Generic programming techniques: from template meta-programming to Origami datatype ...

Get Haskell Design Patterns now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.