import { funcIdOf } from "@/generator/writers/id";

let counter = 0;

export function freshIdentifier(prefix: string): string {
    const fresh = `fresh$${prefix}_${counter}`;
    counter += 1;
    return funcIdOf(fresh);
}
