Leanpub Header

Skip to main content

Filters

Category: "Functional Programming"

Books

  1. Master Kotlin Coroutines & Flow for Android
    Master Kotlin Coroutines & Flow for Android
    Build Fast, Responsive, and Production-Ready Android Apps with Kotlin Coroutines, Flow, StateFlow, SharedFlow, Channels, Jetpack Compose, ViewModel, Room, Retrofit, and Modern Android Architecture
    Mahmoud Ramadan

    Master Kotlin Coroutines and Flow from the ground up through real Android projects, production patterns, and best practices used by senior Android engineers.

  2. Mastering F#
    Mastering F#
    High-Performance Functional Programming for Modern Software Engineering
    Rageesh Geetha Raman

    Learn how to build fast, reliable, and maintainable software with F#. This practical guide takes you from functional programming fundamentals to advanced software engineering techniques, including asynchronous programming, domain-driven design, testing, performance optimisation, and .NET integration. Ideal for developers who want to write cleaner, safer, and more scalable applications.

  3. The Haskell Blueprint
    The Haskell Blueprint
    A Direct Guide to Writing Maintainable, Real-World Software
    Gautier DI FOLCO

    A direct route from the basics to real-world Haskell. Master functions, types, and effects, structure real projects, and ship a working blog engine. Along the way, you learn design principles that make you a stronger engineer in any language.

  4. Disciples of Renown™ - St. George Battles the Dragons
    Disciples of Renown™ - St. George Battles the Dragons
    A "Walk-thru Developer's Guide"
    Stephen Gose

    This Developer's Guide is the "Project #1" from the also included "Building Role-Playing Browser Games" workbook. It leads you through the development of the "St. George Battles the Dragons" Role-Playing Game in both Construct v3 & v2 encoding. It's perfect for novices, experienced web developers, and anyone wanting their own bespoke game, artwork, and features.

  5. Rust Blockchain: A Full-Stack Implementation Guide
    Rust Blockchain: A Full-Stack Implementation Guide
    From whitepaper to running blockchain
    Bill Kunyiha

    Most blockchain books teach the theory. This one walks you through building a complete Bitcoin-style blockchain in Rust, end to end — cryptography, consensus, networking, persistence, REST API, desktop wallets, and Kubernetes deployment.

  6. Notes on Dynamical Systems for Actor-Critic Learning
    Notes on Dynamical Systems for Actor-Critic Learning
    A Dynamical Systems Approach to Reinforcement Learning Mean Dynamics
    Vladyslav Prytula

    An introduction to actor-critic algorithms as dynamical systems: featuring hand-computable examples, fast-slow reductions, and machine-checked Lean 4 proofs

  7. Layerd FP in Scala
    Layerd FP in Scala
    Clean Architecture, Hexagonal and Onion with Scala 3 and ZIO
    Piotr Pruchniewicz

    Clean, Hexagonal, Onion—one dependency rule, three names. Walk a runnable multi-module SaaS billing service in Scala 3 and ZIO: a pure domain ring, ports and use cases in the middle, PostgreSQL + Flyway + JDBC and a thin HTTP shell on the outside—with full source in the PDF, not truncated snippets. See how ZLayer at the composition root keeps one repository for the whole graph, how webhook idempotency stays on the right side of the boundary, and how munit and zio-test (plus optional Docker) prove the architecture you intend to defend in code review.

  8. Event Sourcing in Scala
    Event Sourcing in Scala
    Scala 3, ZIO, PostgreSQL and the log beyond the database
    Piotr Pruchniewicz

    CRUD erases the story your system lived through; event sourcing keeps it. Build an account aggregate in Scala 3 and ZIO: past-tense events, a pure applyEvent fold, decide for invariants and idempotency, then wire an append-only PostgreSQL journal, transactions, and a balance projection—and trace one account from HTTP command to read model. When the log must leave the database, follow the same events through transactional outbox, Kafka, and at-least-once consumers without pretending you have magic consistency. For architects and implementers who want decision-grade ES + CQRS, not a toy demo.

  9. Saga Architecture in Scala
    Saga Architecture in Scala
    Functional Saga Architecture in Scala 3 and ZIO
    Piotr Pruchniewicz

    No distributed transaction spans your whole business process—so you design steps and compensations instead. In Scala 3 and ZIO, build a full order-placement saga from domain types and service algebras to orchestration and event-driven choreography, with tests that prove compensations fire when things break. Then see what it takes to move the same design toward production: outbox, idempotency, persistence, and how to choose between central coordination and decentralized reactions.

  10. Building Memory Matching Browser Games
    Building Memory Matching Browser Games
    MahJong, Hidden Pairs, and "In Sequence" Memory Matching Game Mechanics.
    Stephen Gose

    This chapter is part of the "Construct Gamer Starter Kit" collection and provides a guide to developing Memory Matching games, including MahJong, Hidden Pairs, and "Sequence 3+." The tutorial includes coding for both Construct v2 and v3, making it suitable for beginners and experienced web developers alike. It's perfect for anyone looking to create their own customized Memory Matching games with unique artwork and features.

  11. Scalapedia
    Scalapedia
    Encyclopedia of the Scala programming language
    Piotr Pruchniewicz

    Discover the complete world of Scala programming in one comprehensive encyclopedia. SCALAPEDIA takes you from language fundamentals to advanced functional programming, covering Cats, Cats Effect, ZIO, design patterns, architectural patterns, and performance optimization. With over 85 chapters spanning 10 major parts, this is the definitive guide for mastering Scala and building enterprise-grade applications. Whether you're starting your Scala journey or looking to deepen your expertise, SCALAPEDIA is your complete reference for modern functional programming in Scala.

  12. Functional programming in Modern Java

    Write code that you can understand without holding the entire system in your head. This book shows you how Java's modern functional features—records, sealed types, lambdas, streams—combine into a powerful approach to design. You'll learn: • How to eliminate race conditions without synchronized blocks • How to write tests that test business logic, not mock frameworks • How to compose complex behaviors from simple, reusable functions • How to manage deeply nested immutable data without boilerplate • How to adopt functional patterns incrementally in existing codebases Written for working developers. Filled with production-ready code examples.

  13. Java Backend Coding Technology
    Java Backend Coding Technology
    Less art, more engineering
    Sergiy Yevtushenko

    Stop debating code style. Start engineering code. Every developer brings personal preferences. Every AI tool channels different training examples. The result? Inconsistent codebases, endless code reviews, and technical debt that compounds silently. Java Backend Coding Technology introduces a radical idea: reduce the space of valid choices until there's essentially one good way to do most things. Not through rigid frameworks, but through a small set of patterns that make structure predictable, refactoring mechanical, and business logic visible. The code you write, your teammate writes, and your AI assistant generates will look the same -- because the patterns leave no room for subjective variation.

  14. Mastering React.js Interviews
    Mastering React.js Interviews
    For Middle/Senior Developers
    Kristiyan Velkov

    This book is your ultimate roadmap to modern React.js interviews and standing out from the crowd.Built on 350+ real interview insights, it covers the exact topics top companies test—from security, accessibility, and performance to TypeScript, architecture, and deployment—so you can master every question with confidence and land the role you deserve.

  15. An Elm Primer for React Developers
    An Elm Primer for React Developers
    The Best Way to Learn Real Functional Programming
    Christian Ekrem

    Tired of React runtime errors despite TypeScript? Elm guarantees zero runtime exceptions—if it compiles, it works. This practical guide shows React developers how Elm's strict functional programming approach eliminates entire classes of bugs while teaching you real FP concepts that transfer to any language. Learn the pattern that inspired Redux, discover compile-time safety that catches errors TypeScript misses, and see side-by-side code comparisons from a production codebase with 150,000+ lines of Elm. Your React knowledge is your advantage—this book meets you where you are. Why this book exists: Christian believes Elm is the fastest and most effective way for developers to truly learn functional programming—not watered-down FP patterns, but real, uncompromising functional thinking. Whether you adopt Elm professionally or not, learning it will make you a better developer in any language. This book is his way of sharing that insight with React developers who are ready to level up.