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

cds-lua-fp

Lists, the Result convention and a fallback for missing names, for Lua 5.1 and up

$ luarocks install cds-lua-fp

cds.fp: map, filter, reduce, find, find_map, flat_map, filter_map, any,
all, set, unique, keys and each over lists, the function argument last.
cds.result: bind, map, context and traverse over Lua's own error
convention, a value or nil and an error. cds.module: the fallback a
module returns through so a name it does not have fails at the call, in
words. cds.needs: a check a program runs at startup for the functions it
declares. Pure Lua 5.1 and up, with language-server annotations throughout.

Versions

0.1.0-14 hours ago1 download

Dependencies

lua >= 5.1

Manifests