Magical Haskell: A Friendly Approach to Modern Functional Programming, Type Theory, and Artificial Intelligence
Discover a unique and fun approach to adopting modern typed functions programming patterns. This book uses playful metaphors and examples to help you learn Haskell through imagination, building on math without relying on imperative crutches or technical complexity. You’ll use math to build completely different Typed Functional patterns from the ground up and understand the link between building Mathematics through Types and constructing Haskell as a programming language.

Intended for working with various applications, especially AI-powered apps, the book gently builds up to what are normally considered complex and difficult concepts all without needing a PhD to understand them. Illustrative explanations will guide you to tackle monads, using monad transformer stacks to structure real programs, foldable and traversable structures, as well as other Type classes. This book will also help you structure programs efficiently and apply your own abstractions to real-life problem domains. Next, you’ll explore exciting advancements in AI, including building with OpenAI APIs, creating a terminal chatbot, adding web functionality, and enhancing with retrieval-augmented generation. Finally, you’ll delve into AI multi-agents and future directions using Arrows abstraction, reinforcing Haskell’s design.

Magical Haskell is a solution for programmers who feel limited by imperative programming languages but are also put off by excessively mathematical approaches.

What You Will Learn



• Grasp a solid math foundation without complex technicalities for Types and Typeclasses.
• Solve problems via a typed functional approach and understand why it’s superior to what’s available in the imperative language world (“if it compiles, it runs”).
• Build your own abstractions to efficiently resolve problems in any given domain.
• Develop AI frameworks in Haskell, including chatbots, web functionality, and retrieval-augmented generation.

Who This Book Is For

Haskell programmers of all levels and those interested in Type Theory.

1146708814
Magical Haskell: A Friendly Approach to Modern Functional Programming, Type Theory, and Artificial Intelligence
Discover a unique and fun approach to adopting modern typed functions programming patterns. This book uses playful metaphors and examples to help you learn Haskell through imagination, building on math without relying on imperative crutches or technical complexity. You’ll use math to build completely different Typed Functional patterns from the ground up and understand the link between building Mathematics through Types and constructing Haskell as a programming language.

Intended for working with various applications, especially AI-powered apps, the book gently builds up to what are normally considered complex and difficult concepts all without needing a PhD to understand them. Illustrative explanations will guide you to tackle monads, using monad transformer stacks to structure real programs, foldable and traversable structures, as well as other Type classes. This book will also help you structure programs efficiently and apply your own abstractions to real-life problem domains. Next, you’ll explore exciting advancements in AI, including building with OpenAI APIs, creating a terminal chatbot, adding web functionality, and enhancing with retrieval-augmented generation. Finally, you’ll delve into AI multi-agents and future directions using Arrows abstraction, reinforcing Haskell’s design.

Magical Haskell is a solution for programmers who feel limited by imperative programming languages but are also put off by excessively mathematical approaches.

What You Will Learn



• Grasp a solid math foundation without complex technicalities for Types and Typeclasses.
• Solve problems via a typed functional approach and understand why it’s superior to what’s available in the imperative language world (“if it compiles, it runs”).
• Build your own abstractions to efficiently resolve problems in any given domain.
• Develop AI frameworks in Haskell, including chatbots, web functionality, and retrieval-augmented generation.

Who This Book Is For

Haskell programmers of all levels and those interested in Type Theory.

64.99 Pre Order
Magical Haskell: A Friendly Approach to Modern Functional Programming, Type Theory, and Artificial Intelligence

Magical Haskell: A Friendly Approach to Modern Functional Programming, Type Theory, and Artificial Intelligence

by Anton Antich
Magical Haskell: A Friendly Approach to Modern Functional Programming, Type Theory, and Artificial Intelligence

Magical Haskell: A Friendly Approach to Modern Functional Programming, Type Theory, and Artificial Intelligence

by Anton Antich

Paperback(First Edition)

$64.99 
  • SHIP THIS ITEM
    Available for Pre-Order. This item will be released on May 8, 2025

Related collections and offers


Overview

Discover a unique and fun approach to adopting modern typed functions programming patterns. This book uses playful metaphors and examples to help you learn Haskell through imagination, building on math without relying on imperative crutches or technical complexity. You’ll use math to build completely different Typed Functional patterns from the ground up and understand the link between building Mathematics through Types and constructing Haskell as a programming language.

Intended for working with various applications, especially AI-powered apps, the book gently builds up to what are normally considered complex and difficult concepts all without needing a PhD to understand them. Illustrative explanations will guide you to tackle monads, using monad transformer stacks to structure real programs, foldable and traversable structures, as well as other Type classes. This book will also help you structure programs efficiently and apply your own abstractions to real-life problem domains. Next, you’ll explore exciting advancements in AI, including building with OpenAI APIs, creating a terminal chatbot, adding web functionality, and enhancing with retrieval-augmented generation. Finally, you’ll delve into AI multi-agents and future directions using Arrows abstraction, reinforcing Haskell’s design.

Magical Haskell is a solution for programmers who feel limited by imperative programming languages but are also put off by excessively mathematical approaches.

What You Will Learn



• Grasp a solid math foundation without complex technicalities for Types and Typeclasses.
• Solve problems via a typed functional approach and understand why it’s superior to what’s available in the imperative language world (“if it compiles, it runs”).
• Build your own abstractions to efficiently resolve problems in any given domain.
• Develop AI frameworks in Haskell, including chatbots, web functionality, and retrieval-augmented generation.

Who This Book Is For

Haskell programmers of all levels and those interested in Type Theory.


Product Details

ISBN-13: 9798868812811
Publisher: Apress
Publication date: 05/08/2025
Edition description: First Edition
Pages: 412
Product dimensions: 6.10(w) x 9.25(h) x (d)

About the Author

Anton Antich is a serial entrepreneur and AI/Type Theory researcher, who majored initially in physics. In various executive roles, he was instrumental in building Veeam Software from 0 to over 1B USD in annual sales in under ten years – making Veeam the fastest-growing European company ever. Upon exiting Veeam, he invested in and helped scale over 20 startups and in the recent years got back to the roots and is currently building Integrail (https:// integrail.ai) – a no-code Agentic AI platform. Haskell has been an integral part of many of the projects undertaken during Anton’s tenure, and his current startup will use it as an optional backend for AI multi-agent execution..

Table of Contents

Chapter 1: Wizards, Types, and Functions.- Chapter 2: Type Constructions.- Chapter 3: Very Gentle Type Theory and Category Theory Introduction.- Chapter 4: Basic Typeclasses or “Show me a Monoid”.- Chapter 5: Functor, Bifunctor and Applicative Functor Enter an Elevator.- Chapter 6: O Monad, Help me Compose.- Chapter 7: Input, Transformer Stack, Output.- Chapter 8: Blackjack - Full Haskell Program.- Chapter 9: Let’s AI.- Chapter 10: Terminal AI Chatbot.- Chapter 11: Web-enabled AI Framework.- Chapter 12: Adding RAG (Retrieval Augmented Generation).- Chapter 13: AI Multi-Agents and the Future.

From the B&N Reads Blog

Customer Reviews