From 5b6bae6b0e769d32d007634687df7a1ac3c0fe0a Mon Sep 17 00:00:00 2001
From: Michel Alexandre Salim <michel@sylvestre.me>
Date: Wed, 13 Jun 2012 17:11:58 +0700
Subject: [PATCH] Extend partial function to also handle one-argument calls,
 refs #1012


Signed-off-by: Michel Alexandre Salim <michel@sylvestre.me>
---
 src/clj/clojure/core.clj |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/clj/clojure/core.clj b/src/clj/clojure/core.clj
index e05a263..c421951 100644
--- a/src/clj/clojure/core.clj
+++ b/src/clj/clojure/core.clj
@@ -2341,6 +2341,7 @@
   called, the returned function calls f with args + additional args."
   {:added "1.0"
    :static true}
+  ([f] f)
   ([f arg1]
    (fn [& args] (apply f arg1 args)))
   ([f arg1 arg2]
-- 
1.7.10.2

