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

# Title Downloads  
1 The Bowling Game - From Imperative to Functional Programming - Part 2 14  
2 Defining filter using (a) recursion (b) folding (c) folding with S, B and I combinators (d) folding with applicative functor and identity function 91  
3 Non-strict functions, bottom, and Scala by-name parameters 159  
4 The Functional Programming Triad of fold, scan and iterate 165  
5 De Morgan's Laws are Monoid Homomorphisms 194  
6 Imperative Bowling Kata - 20 Years On - Delegating Menial Tasks to Github Copilot Chat - using Scala in IntelliJ IDEA 223  
7 Ad hoc Polymorphism using Type Classes and Cats 234  
8 Symmetry in the interrelation of flatMap/foldMap/traverse and flatten/fold/sequence 235  
9 Abstracting over Execution with Higher Kinded Types, and how to remain Purely Functional 242  
10 Monads do not Compose 247  
11 N-Queens Combinatorial Problem - Polyglot FP for Fun and Profit – Haskell and Scala - Part 4 249  
12 Game of Life - Polyglot FP - Haskell and Scala - Part 1 258  
13 Folding Cheat Sheet Series Titles 259  
14 Addendum to `Monads do not Compose` 261  
15 Year when lambda functions were introduced in various languages 261  
16 Function Composition - forward composition versus backward composition 262  
17 Sequence and Traverse - Part 3 267  
18 N-Queens Combinatorial Problem - Polyglot FP for Fun and Profit – Haskell and Scala - Part 2 268  
19 Imperative Bowling Kata - 20 Years On - Delegating Menial Tasks to AI Coding Tool 'Claude Code' 268  
20 Monad Fact #5 273  
21 Sequence and Traverse - Part 2 278  
22 Monoids - Part 1 - With examples using Scalaz and Cats 280  
23 Functor Composition 280  
24 Game of Life - Polyglot FP - Haskell and Scala - Part 2 281  
25 Side by Side - Scala and Java Adaptations of Martin Fowler’s Javascript Refactoring Example 286  
26 Drawing Heighway’s Dragon - Part 4 - Interactive and Animated Dragon Creation 287  
27 Functional Effects - Part 1 287  
28 Functional Effects - Part 2 289  
29 Function Applicative for Great Good of Palindrome Checker Function 289  
30 Folding Unfolded - Part 5 293  
31 A sighting of traverse_ in Practical FP in Scala 293  
32 Monad Fact #6 293  
33 Folding Unfolded - Part 1 295  
34 Monoids - Part 2 - With examples using Scalaz and Cats 296  
35 Sierpinski Triangle - Polyglot FP for Fun and Profit - Haskell and Scala 299  
36 Folding Cheat Sheet #5 - Folding a list right and left using Cons and Nil results in the identity and reverse functions 302  
37 State Monad 303  
38 The aggregate function - from sequential and parallel folds to parallel aggregation 304  
39 Monad Transformers - Part 1 310  
40 The Expression Problem Part 1 312  
41 Applicative Functor - Part 2 312  
42 ‘go-to’ general-purpose sequential collections - from Java To Scala 315  
43 Computer Graphics in Java and Scala - Part 1b 321  
44 Writer Monad for logging execution of functions 322  
45 Monad Fact #2 322  
46 Monad Fact #4 323  
47 AI Concepts - MCP Neurons 323  
48 Sequence and Traverse - Part 1 326  
49 Folding Unfolded - Part 3 327  
50 Quicksort - a whistle-stop tour of the algorithm in five languages and four paradigms 333  
51 Folding Unfolded - Part 2 335  
52 A sighting of sequence function in Practical FP in Scala 336  
53 The Monad Fact Series 336  
54 The Sieve of Eratosthenes - Part 1 337  
55 N-Queens Combinatorial Problem - Polyglot FP for Fun and Profit – Haskell and Scala - Part 3 337  
56 Computer Graphics in Java and Scala - Part 1 338  
57 Arrive at monads by going from composition of pure functions to composition of effectful functions 339  
58 Monad Fact #1 340  
59 Applicative Functor - Part 3 344  
60 Left and Right Folds - Comparison of a mathematical definition and a programmatic one 347  
61 Folding Unfolded - Part 4 347  
62 A sighting of traverseFilter and foldMap in Practical FP in Scala 352  
63 ApplicativeError functions handling and recovering from errors: A mnemonic to recall their signatures from their names 354  
64 The Open-Closed Principle - Part 2 - The Contemporary Version - An Introduction 355  
65 Natural Transformations 356  
66 Game of Life - Polyglot FP - Haskell and Scala - Part 3 360  
67 Refactoring: A First Example - Martin Fowler’s First Example of Refactoring, Adapted to Scala 365  
68 Combinatorial Interview Problems with Backtracking Solutions - from Procedural to Functional Programming - Part 2 367  
69 Monad as Functor with pair of Natural Transformations 372  
70 Functor Laws 379  
71 Point-free or Die - Tacit Programming in Haskell 381  
72 Fusing Transformations of Strict Scala Collections with Views 386  
73 Nat, List and Option Monoids - From scratch - Combining and Folding - An example 392  
74 The Bowling Game - From Imperative to Functional Programming - Part 1 394  
75 The Sieve of Eratosthenes - Part 2 - Genuine versus Unfaithful Sieve 397  
76 Monad Fact #3 398  
77 Refactoring: A First Example - Martin Fowler’s First Example of Refactoring, Adapted to Java 416  
78 Applicative Functor - Part 1 418  
79 Scala Left Fold Parallelisation - Three Approaches 422  
80 Scala 3 by Example - Algebraic Data Types for Domain Driven Design - Part 2 423  
81 Scala 3 by Example - Algebraic Data Types for Domain Driven Design - Part 1 428  
82 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 428  
83 From Scala Monadic Effects to Unison Algebraic Effects 432  
84 Function Applicative for Great Good of Leap Year Function 433  
85 Folding Cheat Sheet #8 - Folding with monoids 435  
86 Folding Cheat Sheet #3 - The universal property of fold 436  
87 Drawing Heighway’s Dragon - Part 2 - Recursive Function Simplification - From 2^n Recursive Invocations To n Tail-Recursive Invocations Exploiting Self-Similarity 449  
88 Definitions of Functional Programming 450  
89 Hand Rolled Applicative User Validation Code Kata 457  
90 Folding Cheat Sheet #7 - The three duality theorems of fold 460  
91 Kleisli composition, flatMap, join, map, unit - implementation and interrelation - V2 updated for Scala 3 462  
92 Folding Cheat Sheet #2 - Programmatic and mathematical definitions of right fold and left fold 468  
93 Scala 3 enum for a terser Option Monad Algebraic Data Type 473  
94 Folding Cheat Sheet #9 - List Unfolding - 'unfold' as the Computational Dual of 'fold', and how 'unfold' relates to 'iterate' 478  
95 N-Queens Combinatorial Problem - Polyglot FP for Fun and Profit – Haskell and Scala - Part 1 485  
96 Compositionality and Category Theory 488  
97 From Subtype Polymorphism To Typeclass-based Ad hoc Polymorphism - An Example 490  
98 Sum and Product Types - The Fruit Salad & Fruit Snack Example 501  
99 Drawing Heighway’s Dragon - Part 1 - Recursive Function Rewrite - From Imperative Style in Pascal 64 To Functional Style in Scala 3 504  
100 Algebraic Data Types for Data Oriented Programming - From Haskell and Scala to Java 515  
101 A Sighting of filterA in Typelevel Rite of Passage 517  
102 Fibonacci Function Gallery - Part 1 518  
103 The Functional Programming Triad of map, filter and fold 523  
104 The Uniform Access Principle 544  
105 Lambda Expressions and Java 8 - Lambda Calculus, Lambda Expressions, Syntactic Sugar, First Class Functions 561  
106 Fibonacci Function Gallery - Part 2 570  
107 Combinatorial Interview Problems with Backtracking Solutions - from Procedural to Functional Programming - Part 1 575  
108 Folding Cheat Sheet #1 - Folding over recursively defined data structures for natural numbers and lists 600  
109 Tagless Final Encoding - Algebras and Interpreters and also Programs 605  
110 The Functional Programming Triad of Folding, Scanning and Iteration - A first example in Scala and Haskell 613  
111 N-Queens Combinatorial Puzzle meets Cats 682  
112 Functional Core and Imperative Shell - Game of Life Example - Haskell and Scala 686  
113 Folding Cheat Sheet #6 - Left and right folds and tail recursion 728  
114 Monad Laws Must Be Checked 760  
115 The Open-Closed Principle - Part 1 - The Original Version 819  
116 Test Doubles - Terminology, Definitions and Illustrations - with Examples - Part 1 850  
117 List Unfolding - 'unfold' as the Computational Dual of 'fold', and how 'unfold' relates to 'iterate' 872  
118 Kleisli Composition 1039  
119 Drawing Heighway’s Dragon - Part 3 - Simplification Through Separation of Concerns - Rotation Without Matrix Multiplication 1131  
120 Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid 1362  
121 The Nature of Complexity in John Ousterhout’s Philosophy of Software Design 2085  
122 The Debt Metaphor - Ward Cunningham in his 2009 YouTube video 2147  
123 The Expression Problem Part 2 3326