Tag: fp
All the articles with the tag "fp".
Compilers are hard
Writing (something like) a compiler is hard. Here I explore what some of the difficulties are, and provide some strategies to ensure you still maintain quality.
Practical Awesome Recursion - Ch 02: Catamorphisms
Chapter 2 of the Practical Awesome Recursion series in Scala: catamorphisms, F-algebras, performance optimization, and composable file system queries.
Practical Awesome Recursion - Ch 01: Fixpoints
Chapter 1 of the Practical Awesome Recursion series in Scala: preparing recursive data types with type parameters, Functor instances, and Fix.
Dependently-Typed Functions
How to implement exhaustive dependently-typed methods and first-class dependently-typed function values in Scala using path-dependent types and higher-kinded folds.
An Example of Functional Programming
A practical, beginner-friendly walkthrough of functional programming in Scala, incrementally building a composable user-data validation library across five evolving requirements.
A Year of Functional Programming
Reflections after one year of functional programming—from discovering Scala, Haskell, and Scalaz to embracing abstractions, expressive types, property-based testing, and computer science academia.
Keyed Lenses
Introducing KeyedLens in Scala and Scalaz—a composable lens variant that requires a key to focus into maps or indexed collections, propagating keys cleanly through composition.