123 Decks Ordered By PDF Download Count - Lowest First - Chse one - invert order

# Title Downloads  
1 Defining filter using (a) recursion (b) folding (c) folding with S, B and I combinators (d) folding with applicative functor and identity function 110  
2 The Functional Programming Triad of fold, scan and iterate 170  
3 Non-strict functions, bottom, and Scala by-name parameters 174  
4 The Bowling Game - From Imperative to Functional Programming - Part 2 186  
5 De Morgan's Laws are Monoid Homomorphisms 197  
6 Imperative Bowling Kata - 20 Years On - Delegating Menial Tasks to Github Copilot Chat - using Scala in IntelliJ IDEA 241  
7 Ad hoc Polymorphism using Type Classes and Cats 246  
8 Symmetry in the interrelation of flatMap/foldMap/traverse and flatten/fold/sequence 247  
9 Monads do not Compose 256  
10 N-Queens Combinatorial Problem - Polyglot FP for Fun and Profit – Haskell and Scala - Part 4 257  
11 Abstracting over Execution with Higher Kinded Types, and how to remain Purely Functional 263  
12 Game of Life - Polyglot FP - Haskell and Scala - Part 1 266  
13 Folding Cheat Sheet Series Titles 267  
14 Addendum to `Monads do not Compose` 268  
15 Function Composition - forward composition versus backward composition 270  
16 Year when lambda functions were introduced in various languages 274  
17 N-Queens Combinatorial Problem - Polyglot FP for Fun and Profit – Haskell and Scala - Part 2 274  
18 Sequence and Traverse - Part 3 280  
19 Monad Fact #5 281  
20 Imperative Bowling Kata - 20 Years On - Delegating Menial Tasks to AI Coding Tool 'Claude Code' 282  
21 Sequence and Traverse - Part 2 285  
22 Monoids - Part 1 - With examples using Scalaz and Cats 286  
23 Game of Life - Polyglot FP - Haskell and Scala - Part 2 290  
24 Functor Composition 290  
25 Side by Side - Scala and Java Adaptations of Martin Fowler’s Javascript Refactoring Example 291  
26 Functional Effects - Part 1 293  
27 Function Applicative for Great Good of Palindrome Checker Function 296  
28 Folding Unfolded - Part 5 298  
29 Monad Fact #6 299  
30 Drawing Heighway’s Dragon - Part 4 - Interactive and Animated Dragon Creation 299  
31 Functional Effects - Part 2 300  
32 Folding Unfolded - Part 1 301  
33 Monoids - Part 2 - With examples using Scalaz and Cats 303  
34 A sighting of traverse_ in Practical FP in Scala 303  
35 Sierpinski Triangle - Polyglot FP for Fun and Profit - Haskell and Scala 305  
36 Folding Cheat Sheet #5 - Folding a list right and left using Cons and Nil results in the identity and reverse functions 309  
37 State Monad 310  
38 The aggregate function - from sequential and parallel folds to parallel aggregation 310  
39 Monad Transformers - Part 1 318  
40 The Expression Problem Part 1 321  
41 Applicative Functor - Part 2 326  
42 Monad Fact #4 327  
43 ‘go-to’ general-purpose sequential collections - from Java To Scala 328  
44 Writer Monad for logging execution of functions 329  
45 Sequence and Traverse - Part 1 331  
46 Computer Graphics in Java and Scala - Part 1b 333  
47 Folding Unfolded - Part 3 334  
48 Monad Fact #2 339  
49 Quicksort - a whistle-stop tour of the algorithm in five languages and four paradigms 340  
50 The Sieve of Eratosthenes - Part 1 341  
51 The Monad Fact Series 341  
52 Monad Fact #1 345  
53 A sighting of sequence function in Practical FP in Scala 346  
54 Folding Unfolded - Part 2 347  
55 Computer Graphics in Java and Scala - Part 1 347  
56 AI Concepts - MCP Neurons 348  
57 N-Queens Combinatorial Problem - Polyglot FP for Fun and Profit – Haskell and Scala - Part 3 350  
58 Arrive at monads by going from composition of pure functions to composition of effectful functions 350  
59 Applicative Functor - Part 3 352  
60 Folding Unfolded - Part 4 359  
61 A sighting of traverseFilter and foldMap in Practical FP in Scala 360  
62 Left and Right Folds - Comparison of a mathematical definition and a programmatic one 361  
63 The Open-Closed Principle - Part 2 - The Contemporary Version - An Introduction 366  
64 ApplicativeError functions handling and recovering from errors: A mnemonic to recall their signatures from their names 366  
65 Game of Life - Polyglot FP - Haskell and Scala - Part 3 367  
66 Refactoring: A First Example - Martin Fowler’s First Example of Refactoring, Adapted to Scala 375  
67 Natural Transformations 375  
68 Monad as Functor with pair of Natural Transformations 381  
69 Point-free or Die - Tacit Programming in Haskell 386  
70 Combinatorial Interview Problems with Backtracking Solutions - from Procedural to Functional Programming - Part 2 389  
71 Functor Laws 394  
72 Nat, List and Option Monoids - From scratch - Combining and Folding - An example 400  
73 Fusing Transformations of Strict Scala Collections with Views 401  
74 The Sieve of Eratosthenes - Part 2 - Genuine versus Unfaithful Sieve 409  
75 Monad Fact #3 410  
76 Applicative Functor - Part 1 422  
77 Refactoring: A First Example - Martin Fowler’s First Example of Refactoring, Adapted to Java 425  
78 Folding Cheat Sheet #4 - For functions that can be defined both as a right fold and as a left fold, one may be more efficient than the other 437  
79 Function Applicative for Great Good of Leap Year Function 440  
80 Scala Left Fold Parallelisation - Three Approaches 441  
81 Folding Cheat Sheet #3 - The universal property of fold 443  
82 From Scala Monadic Effects to Unison Algebraic Effects 444  
83 Scala 3 by Example - Algebraic Data Types for Domain Driven Design - Part 2 445  
84 Scala 3 by Example - Algebraic Data Types for Domain Driven Design - Part 1 450  
85 Folding Cheat Sheet #8 - Folding with monoids 452  
86 Drawing Heighway’s Dragon - Part 2 - Recursive Function Simplification - From 2^n Recursive Invocations To n Tail-Recursive Invocations Exploiting Self-Similarity 457  
87 The Bowling Game - From Imperative to Functional Programming - Part 1 459  
88 Hand Rolled Applicative User Validation Code Kata 464  
89 Definitions of Functional Programming 469  
90 Kleisli composition, flatMap, join, map, unit - implementation and interrelation - V2 updated for Scala 3 471  
91 Folding Cheat Sheet #2 - Programmatic and mathematical definitions of right fold and left fold 476  
92 Folding Cheat Sheet #7 - The three duality theorems of fold 477  
93 Scala 3 enum for a terser Option Monad Algebraic Data Type 489  
94 N-Queens Combinatorial Problem - Polyglot FP for Fun and Profit – Haskell and Scala - Part 1 495  
95 Folding Cheat Sheet #9 - List Unfolding - 'unfold' as the Computational Dual of 'fold', and how 'unfold' relates to 'iterate' 498  
96 Compositionality and Category Theory 499  
97 From Subtype Polymorphism To Typeclass-based Ad hoc Polymorphism - An Example 512  
98 Sum and Product Types - The Fruit Salad & Fruit Snack Example 514  
99 Drawing Heighway’s Dragon - Part 1 - Recursive Function Rewrite - From Imperative Style in Pascal 64 To Functional Style in Scala 3 520  
100 Algebraic Data Types for Data Oriented Programming - From Haskell and Scala to Java 520  
101 The Functional Programming Triad of map, filter and fold 533  
102 Fibonacci Function Gallery - Part 1 536  
103 A Sighting of filterA in Typelevel Rite of Passage 537  
104 The Uniform Access Principle 558  
105 Lambda Expressions and Java 8 - Lambda Calculus, Lambda Expressions, Syntactic Sugar, First Class Functions 578  
106 Combinatorial Interview Problems with Backtracking Solutions - from Procedural to Functional Programming - Part 1 583  
107 Fibonacci Function Gallery - Part 2 595  
108 Folding Cheat Sheet #1 - Folding over recursively defined data structures for natural numbers and lists 616  
109 Tagless Final Encoding - Algebras and Interpreters and also Programs 622  
110 The Functional Programming Triad of Folding, Scanning and Iteration - A first example in Scala and Haskell 626  
111 Functional Core and Imperative Shell - Game of Life Example - Haskell and Scala 696  
112 N-Queens Combinatorial Puzzle meets Cats 699  
113 Folding Cheat Sheet #6 - Left and right folds and tail recursion 747  
114 Monad Laws Must Be Checked 774  
115 The Open-Closed Principle - Part 1 - The Original Version 842  
116 Test Doubles - Terminology, Definitions and Illustrations - with Examples - Part 1 865  
117 List Unfolding - 'unfold' as the Computational Dual of 'fold', and how 'unfold' relates to 'iterate' 892  
118 Kleisli Composition 1056  
119 Drawing Heighway’s Dragon - Part 3 - Simplification Through Separation of Concerns - Rotation Without Matrix Multiplication 1139  
120 Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid 1384  
121 The Nature of Complexity in John Ousterhout’s Philosophy of Software Design 2156  
122 The Debt Metaphor - Ward Cunningham in his 2009 YouTube video 2171  
123 The Expression Problem Part 2 3355