LuaRocks.org had a security incident in September 2026. Read the incident report.

Haskell-style function composition and application for Lua

$ luarocks install luarrow

luarrow.lua brings the elegance of Haskell's function composition to Lua
with beautiful operator overloading. Write `fun(f) * fun(g) % x` instead
of `f(g(x))` and make your functional pipelines readable and maintainable.

Features:
- Haskell-inspired syntax with * for composition and % for application
- Zero dependencies - pure Lua implementation
- Minimal overhead with simple table wrapping

Versions

main-9228 days ago14 downloads
main-8341 days ago11 downloads
main-71 year ago29 downloads
main-61 year ago1 download
main-51 year ago2 downloads
main-41 year ago3 downloads
main-31 year ago4 downloads
main-21 year ago4 downloads
main-11 year ago5 downloads

Dependencies

lua >= 5.1

Labels

Manifests