if (!(arg.respondsTo("intersection"))) throw context.getRuntime().newArgumentError("argument should be a set");
IPersistentSet other = (IPersistentSet)DiametricUtils.getPersistentSet(context, arg);
try {
Var var = DiametricService.getFn("clojure.set", "intersection");
if (set instanceof HashSet) {
PersistentHashSet value = convertHashSetToPersistentHashSet(set);
return DiametricUtils.convertJavaToRuby(context, var.invoke(value, other));
} else {
return DiametricUtils.convertJavaToRuby(context, var.invoke(set, other));
}
} catch (Throwable t) {