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-8101 days ago6 downloads
main-7125 days ago26 downloads
main-6125 days ago1 download
main-5125 days ago2 downloads
main-4125 days ago0 downloads
main-3125 days ago1 download
main-2125 days ago1 download
main-1125 days ago2 downloads

Dependencies

lua >= 5.1

Labels

Manifests