From bacfa5d9ebfdde85114572a843371498ffb9a18e Mon Sep 17 00:00:00 2001 From: Philip Xu Date: Tue, 27 Dec 2016 02:45:09 -0500 Subject: [PATCH] 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])))