What is it about?

Functional programming is a high-level programming paradigm, often considered as elegant but too slow for high-performance algorithm implementation. In this paper, we investigate the well-known "Longest Increasing Subsequence" or "Longest Uptrend" problem. We show how to implement a solution in a purely functional style while being on par with imperative implementations, performance-wise. To achieve this performance, the implementation relies on standard functional programming techniques, most notably, functional zippers.

Featured Image

Read the Original

This page is a summary of: Truly Functional Solutions to the Longest Uptrend Problem (Functional Pearl), Proceedings of the ACM on Programming Languages, August 2025, ACM (Association for Computing Machinery),
DOI: 10.1145/3747520.
You can read the full text:

Read

Contributors

The following have contributed to this page