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 diff --git a/hy/core/language.hy b/hy/core/language.hy index df9dbff..5cb546c 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] @@ -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])))