import type { Reducer } from "./api.js" ; import { reduce , reducer } from "./reduce.js" ; /**
 * Reducer. Like  {@link (push:1)} , but for ES6 Sets.
  export function conj < T > ( ) ; export function conj < T > ( xs ) ; export function conj < T > ( xs ? ) { return xs ? reduce ( conj ( ) , xs ) : reducer ( ( ) => new Set ( ) , ( acc , x ) => acc . add ( x ) ) ; }