redis/incrby
Increment a numeric string by a specific amount
const app = mvfm(prelude, redis);
const prog = app({}, ($) => {
return $.begin(
$.redis.set("counter", "10"),
$.redis.incrby("counter", 5)
);
});
await fold(
defaults(app, { redis: memoryRedisInterpreter }),
prog
); Ctrl+Enter