Home

Awesome

Pragmatic-Type-Level-Design

Code and materials for my book Pragmatic Type Level Design.

<p float="left"> <a href="https://leanpub.com/pragmatic-type-level-design"> <img src="https://github.com/graninas/Pragmatic-Type-Level-Design/blob/39afc1d112fb8507dfdb412274b82c532ac4980c/PTLD%20cover.png" width="200"></a> </p>

Pragmatic Type-Level Design is a deep book that explores practical concepts of type-level design in various statically typed FP languages, especially Haskell, F#, OCaml, Scala.

Unlike most resources focussing on mathematical underpinnings of type-level programming, this book's primary emphasis lies in pragmatism: it explores the practical application of these concepts in actual programming scenarios. It formulates best practices, examines how types influence application design and architecture, and outlines principles to navigate the challenges of managing the inherent complexity in type-level code.

Haskell is a model language, but the book will contain the Rosetta Stone part that mirrors the approaches from Haskell to other languages.

Pragmatic Type-Level Design best works in pair with Functional Design and Architecture (First Edition, self-published, Second Edition, Manning Publications), another my fundamental book about software desigin in functional languages.

<p float="left"> <a href="https://www.manning.com/books/functional-design-and-architecture"> <img src="https://github.com/graninas/functional-declarative-design-methodology/blob/5a994d49d2de738105601f6dc3572df4b5a197d2/images/FDaA_cover.png" width="200"></a> <a href="https://leanpub.com/functional-design-and-architecture"> <img src="https://github.com/graninas/functional-declarative-design-methodology/blob/9942840a5cb11c8844afa452a579031548d16225/images/FDaA_FE_cover.png" width="200"></a> </p>

Both FDaA and PTLD provide a consistent, pragmatic and structured set of knowledge never seen before in the functional world.

Buy both and learn a lot of great ideas presented in academism-free mature style. You'll likely won't see anything better than my books anywhere else in the field.