Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.
import { Reducer, String } from "effect"
import { describe, it } from "vitest"
import { strictEqual } from "./utils/assert.ts"
describe("Combiner", () => {
it("flip", () => {
const R = Reducer.flip(String.ReducerConcat)
strictEqual(R.combine("a", "b"), "ba")
strictEqual(R.initialValue, "")
strictEqual(R.combineAll(["a", "b", "c"]), "cba")
})
})