vix.ing · top · new · best · stats · spec

Freer Arrows and Why You Need Them in Haskell

2025/06/13 by VanDomelen, Grant, Shen, Gan, Kuper, Lindsey +1
#FOS: Computer and information sciences #Programming Languages (cs.PL)

paper · doi:10.48550/arxiv.2506.12212

Abstract

Freer monads are a useful structure commonly used in various domains due to their expressiveness. However, a known issue with freer monads is that they are not amenable to static analysis. This paper explores freer arrows, a relatively expressive structure that is amenable to static analysis. We propose several variants of freer arrows. We conduct a case study on choreographic programming to demonstrate the usefulness of freer arrows in Haskell.

Citations

Related