Product Launch
anonymous
1 points
4 comments
Postedabout 1 month agoActive30 days ago
Luarrow
github.comlaunchedlibrarydevelopers
Key Features
pipeline operatorsHaskell-style function composition
Tech Stack
Lua
functional programming
Key Features
Tech Stack
local _ = 5
% arrow(function(x) return -x end)
^ arrow(function(x) return x + 10 end)
^ arrow(function(x) return x * x end)
^ arrow(print) -- 25 -- what we don’t care to use later, we brush under the mat/rug [2,3]
local mat = 5
-- nub, as the essence or core of an issue, argument etc. [1]
% through(function(nub) return -nub end)
^ through(function(nub) return nub + 10 end)
^ through(function(nub) return nub * nub end)
^ through(print) -- 25
[1] https://en.wiktionary.org/wiki/nub[2] https://dictionary.cambridge.org/dictionary/english/sweep-un...
[3] https://idioms.thefreedictionary.com/brush+(something)+under...
My hobby compile to Lua language uses [ x | x + 1 ] and [ ] for a no-arg function/block.
Not affiliated with Hacker News or Y Combinator. We simply enrich the public API with analytics.