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-881 days ago4 downloads
main-7105 days ago26 downloads
main-6105 days ago1 download
main-5105 days ago2 downloads
main-4105 days ago0 downloads
main-3105 days ago1 download
main-2105 days ago1 download
main-1105 days ago2 downloads

Dependencies

lua >= 5.1

Labels

Manifests