110 Decks Ordered By Upload Date - Earliest First - Chse one - invert order

# Title Uploaded
1 Kleisli composition, flatMap, join, map, unit - implementation and interrelation - V2 updated for Scala 3 04 Jun 2023  
2 The Functional Programming Triad of Folding, Scanning and Iteration - A first example in Scala and Haskell 15 Jun 2023  
3 Folding Cheat Sheet #7 - The three duality theorems of fold 23 Jun 2023  
4 Scala 3 by Example - Algebraic Data Types for Domain Driven Design - Part 2 14 Aug 2023  
5 N-Queens Combinatorial Puzzle meets Cats 28 Aug 2023  
6 A sighting of traverseFilter and foldMap in Practical FP in Scala 01 Oct 2023  
7 A sighting of sequence function in Practical FP in Scala 01 Oct 2023  
8 A sighting of traverse_ in Practical FP in Scala 08 Oct 2023  
9 Fusing Transformations of Strict Scala Collections with Views 19 Oct 2023  
10 Tagless Final Encoding - Algebras and Interpreters and also Programs 22 Oct 2023  
11 Scala Left Fold Parallelisation - Three Approaches 19 Nov 2023  
12 The aggregate function - from sequential and parallel folds to parallel aggregation 03 Dec 2023  
13 Nat, List and Option Monoids - From scratch - Combining and Folding - An example 03 Dec 2023  
14 The Sieve of Eratosthenes - Part 2 - Genuine versus Unfaithful Sieve 03 Dec 2023  
15 Sum and Product Types - The Fruit Salad & Fruit Snack Example 03 Dec 2023  
16 The Sieve of Eratosthenes - Part 1 03 Dec 2023  
17 N-Queens Combinatorial Problem - Polyglot FP for Fun and Profit – Haskell and Scala - Part 4 03 Dec 2023  
18 N-Queens Combinatorial Problem - Polyglot FP for Fun and Profit – Haskell and Scala - Part 3 03 Dec 2023  
19 N-Queens Combinatorial Problem - Polyglot FP for Fun and Profit – Haskell and Scala - Part 2 03 Dec 2023  
20 N-Queens Combinatorial Problem - Polyglot FP for Fun and Profit – Haskell and Scala - Part 1 03 Dec 2023  
21 Algebraic Data Types for Data Oriented Programming - From Haskell and Scala to Java 11 Dec 2023  
22 Folding Cheat Sheet #6 - Left and right folds and tail recursion 16 Dec 2023  
23 The Uniform Access Principle 16 Dec 2023  
24 Computer Graphics in Java and Scala - Part 1b 16 Dec 2023  
25 The Expression Problem Part 2 16 Dec 2023  
26 Computer Graphics in Java and Scala - Part 1 16 Dec 2023  
27 The Expression Problem Part 1 16 Dec 2023  
28 Refactoring: A First Example - Martin Fowler’s First Example of Refactoring, Adapted to Scala 18 Dec 2023  
29 Refactoring: A First Example - Martin Fowler’s First Example of Refactoring, Adapted to Java 21 Dec 2023  
30 Side by Side - Scala and Java Adaptations of Martin Fowler’s Javascript Refactoring Example 26 Dec 2023  
31 ‘go-to’ general-purpose sequential collections - from Java To Scala 27 Dec 2023  
32 Functional Core and Imperative Shell - Game of Life Example - Haskell and Scala 27 Dec 2023  
33 Quicksort - a whistle-stop tour of the algorithm in five languages and four paradigms 27 Dec 2023  
34 From Scala Monadic Effects to Unison Algebraic Effects 28 Dec 2023  
35 Definitions of Functional Programming 28 Dec 2023  
36 Compositionality and Category Theory 28 Dec 2023  
37 Kleisli Composition 29 Dec 2023  
38 Monad Laws Must Be Checked 29 Dec 2023  
39 Functor Laws 29 Dec 2023  
40 Monad Fact #4 31 Dec 2023  
41 Monad Fact #6 01 Jan 2024  
42 Monad Fact #5 01 Jan 2024  
43 Monad Fact #3 01 Jan 2024  
44 Monad Fact #2 01 Jan 2024  
45 Monad Fact #1 01 Jan 2024  
46 The Monad Fact Series 01 Jan 2024  
47 The Functional Programming Triad of map, filter and fold 27 Jan 2024  
48 Applicative Functor - Part 1 04 Feb 2024  
49 Applicative Functor - Part 2 08 Feb 2024  
50 Applicative Functor - Part 3 13 Feb 2024  
51 Folding Unfolded - Part 1 18 Feb 2024  
52 Folding Unfolded - Part 2 25 Feb 2024  
53 Folding Unfolded - Part 3 26 Feb 2024  
54 Folding Unfolded - Part 5 10 Mar 2024  
55 Folding Unfolded - Part 4 10 Mar 2024  
56 Folding Cheat Sheet #1 - Folding over recursively defined data structures for natural numbers and lists 29 Mar 2024  
57 Folding Cheat Sheet #2 - Programmatic and mathematical definitions of right fold and left fold 31 Mar 2024  
58 Folding Cheat Sheet #3 - The universal property of fold 02 Apr 2024  
59 Left and Right Folds - Comparison of a mathematical definition and a programmatic one 13 Apr 2024  
60 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 21 Apr 2024  
61 Function Applicative for Great Good of Palindrome Checker Function 21 Apr 2024  
62 Game of Life - Polyglot FP - Haskell and Scala - Part 1 27 Apr 2024  
63 Game of Life - Polyglot FP - Haskell and Scala - Part 3 30 Apr 2024  
64 Game of Life - Polyglot FP - Haskell and Scala - Part 2 30 Apr 2024  
65 Sierpinski Triangle - Polyglot FP for Fun and Profit - Haskell and Scala 26 May 2024  
66 Scala 3 enum for a terser Option Monad Algebraic Data Type 26 May 2024  
67 A Sighting of filterA in Typelevel Rite of Passage 03 Jun 2024  
68 Sequence and Traverse - Part 3 08 Jun 2024  
69 Sequence and Traverse - Part 2 08 Jun 2024  
70 Sequence and Traverse - Part 1 08 Jun 2024  
71 Hand Rolled Applicative User Validation Code Kata 09 Jun 2024  
72 Folding Cheat Sheet #5 - Folding a list right and left using Cons and Nil results in the identity and reverse functions 23 Jun 2024  
73 Functional Effects - Part 2 13 Jul 2024  
74 Functional Effects - Part 1 13 Jul 2024  
75 Monoids - Part 2 - With examples using Scalaz and Cats 16 Jul 2024  
76 Monoids - Part 1 - With examples using Scalaz and Cats 16 Jul 2024  
77 Ad hoc Polymorphism using Type Classes and Cats 20 Jul 2024  
78 Natural Transformations 21 Jul 2024  
79 Writer Monad for logging execution of functions 22 Jul 2024  
80 State Monad 23 Jul 2024  
81 Scala 3 by Example - Algebraic Data Types for Domain Driven Design - Part 1 14 Aug 2024  
82 Function Applicative for Great Good of Leap Year Function 24 Aug 2024  
83 Arrive at monads by going from composition of pure functions to composition of effectful functions 26 Aug 2024  
84 From Subtype Polymorphism To Typeclass-based Ad hoc Polymorphism - An Example 27 Oct 2024  
85 Folding Cheat Sheet #8 - Folding with monoids 27 Oct 2024  
86 Folding Cheat Sheet Series Titles 01 Nov 2024  
87 Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid 05 Nov 2024  
88 Functor Composition 09 Nov 2024  
89 Lambda Expressions and Java 8 - Lambda Calculus, Lambda Expressions, Syntactic Sugar, First Class Functions 10 Nov 2024  
90 Monads do not Compose 11 Nov 2024  
91 Addendum to `Monads do not Compose` 16 Nov 2024  
92 Monad Transformers - Part 1 22 Nov 2024  
93 The Debt Metaphor - Ward Cunningham in his 2009 YouTube video 23 Nov 2024  
94 Symmetry in the interrelation of flatMap/foldMap/traverse and flatten/fold/sequence 05 Dec 2024  
95 Year when lambda functions were introduced in various languages 05 Dec 2024  
96 Function Composition - forward composition versus backward composition 05 Dec 2024  
97 Fibonacci Function Gallery - Part 1 15 Dec 2024  
98 Fibonacci Function Gallery - Part 2 27 Dec 2024  
99 Monad as Functor with pair of Natural Transformations 07 Jan 2025  
100 De Morgan's Laws are Monoid Homomorphisms 07 Jan 2025  
101 Drawing Heighway’s Dragon - Part 1 - Recursive Function Rewrite - From Imperative Style in Pascal 64 To Functional Style in Scala 3 02 Mar 2025  
102 Drawing Heighway’s Dragon - Part 2 - Recursive Function Simplification - From 2^n Recursive Invocations To n Tail-Recursive Invocations Exploiting Self-Similarity 29 Mar 2025  
103 The Open-Closed Principle - Part 2 - The Contemporary Version - An Introduction 06 Apr 2025  
104 The Open-Closed Principle - Part 1 - The Original Version 06 Apr 2025  
105 Drawing Heighway’s Dragon - Part 3 - Simplification Through Separation of Concerns - Rotation Without Matrix Multiplication 13 Apr 2025  
106 The Nature of Complexity in John Ousterhout’s Philosophy of Software Design 21 Apr 2025  
107 Drawing Heighway’s Dragon - Part 4 - Interactive and Animated Dragon Creation 18 May 2025  
108 List Unfolding - 'unfold' as the Computational Dual of 'fold', and how 'unfold' relates to 'iterate' 31 May 2025  
109 Folding Cheat Sheet #9 - List Unfolding - 'unfold' as the Computational Dual of 'fold', and how 'unfold' relates to 'iterate' 15 Jun 2025  
110 Non-strict functions, bottom, and Scala by-name parameters 21 Jun 2025