Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

172 B
Raw Blame
pub struct State<S>(S);

impl<S> State<S> {
    pub fn transition<F, U>(self, f: F) -> State<U>
    where
        F: FnOnce(S) -> U,
    {
        State(f(self.0))
    }
}