Leanpub Header

Skip to main content

Filters

Category: "Functional Programming"

Functional Programming

  1. 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.

  2. 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.

  3. 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

  4. 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.

  5. 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.

  6. 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.

  7. 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.

  8. 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.

  9. 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.

  10. 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.

  11. 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.

  12. Modern Software Design in Fortran
    No Description Available
  13. Functional Programming in Python

    Python is a multi-paradigm language. Beginners use it a procedural language.Intermediate users learn Object Oriented Python programming. Advanced user use the Functional Programming features of the language.This books helps you to become and advanced Python programmer who understand and can use the functional programming constructs of the language.

  14. Unwrapping Monads & Friends
    Unwrapping Monads & Friends
    Shining Light on Functional Programming's Scariest Concepts
    Kyle Simpson

    Are you scared by mathematical symbols or formal terms like "monad"? Unwrapping Monads & Friends offers a clear, approachable path through functional programming’s most intimidating concepts—no math degree required. If you've ever said "I kind of get it, but not really," this is the guide that finally makes it click.

  15. Building Trivia Quizzes & Dating Games
    Building Trivia Quizzes & Dating Games
    Creating "Educational Testing" Game Mechanics
    Stephen Gose

    This is a workbook from the Construct Game Starter Kit Collection. It leads you through three (3) "Trivia Quiz & Dating" games for both Construct v3 & v2 encoding. It's perfect for novices, experienced web developers, and just anyone wanting their own bespoke game, artwork, and features.