public static Cons Assoc(object item, Cons alist, params object[] args) { var kwargs = ParseKwargs(args, new string[] { "key", "test" }); var key = GetClosure(kwargs[0]); var test = GetClosure(kwargs[1], EqualApply); return(SeqBase.Assoc(item, alist, test, key)); }