From c9b40037d56a5b7f2ed12ee89617871b705deee2 Mon Sep 17 00:00:00 2001 From: Philip Xu Date: Tue, 27 Dec 2016 02:41:16 -0500 Subject: [PATCH 1/3] Fix typo --- hy/core/language.hy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hy/core/language.hy b/hy/core/language.hy index df9dbff..865616e 100644 --- a/hy/core/language.hy +++ b/hy/core/language.hy @@ -266,7 +266,7 @@ (long-type x)) (defn integer? [x] - "Return True if x in an integer" + "Return True if x is an integer" (isinstance x (, int long-type))) (defn integer-char? [x] From bacfa5d9ebfdde85114572a843371498ffb9a18e Mon Sep 17 00:00:00 2001 From: Philip Xu Date: Tue, 27 Dec 2016 02:45:09 -0500 Subject: [PATCH 2/3] Upgrade juxt docstring to match documentation --- hy/core/language.hy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hy/core/language.hy b/hy/core/language.hy index 865616e..5cb546c 100644 --- a/hy/core/language.hy +++ b/hy/core/language.hy @@ -299,8 +299,8 @@ (isinstance x collections.Iterator)) (defn juxt [f &rest fs] - "Return a function that apply a set of functions to same arguments and - collect the result into a list." + "Return a function that applies each of the supplied functions to a single + set of arguments and collects the results into a list." (setv fs (cons f fs)) (fn [&rest args &kwargs kwargs] (list-comp (apply f args kwargs) [f fs]))) From 35a187ba2e772b13ea1d6eed6960bbb06769a410 Mon Sep 17 00:00:00 2001 From: Philip Xu Date: Tue, 27 Dec 2016 02:50:41 -0500 Subject: [PATCH 3/3] Update AUTHORS --- AUTHORS | 1 + 1 file changed, 1 insertion(+) diff --git a/AUTHORS b/AUTHORS index 9592efb..ef0b554 100644 --- a/AUTHORS +++ b/AUTHORS @@ -73,3 +73,4 @@ * Kodi Arfer * Karan Sharma * Sergey Sobko +* Philip Xu