From e4e643e6a04ebadeed4df74b55fabc64e0010966 Mon Sep 17 00:00:00 2001 From: Kodi Arfer Date: Mon, 9 Dec 2024 16:46:15 -0500 Subject: [PATCH] Edit the docstring of `loop` --- hyrule/control.hy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hyrule/control.hy b/hyrule/control.hy index c95a4378..134a5465 100644 --- a/hyrule/control.hy +++ b/hyrule/control.hy @@ -267,7 +267,7 @@ Don't forget to ``(import hyrule [recur])``. The :hy:class:`recur` object holds the arguments for the next call. When the function returns a :hy:class:`recur`, ``loop`` calls it again with the new arguments. Otherwise, ``loop`` ends and the final value is returned. Thus, what would be a nested set of recursive calls becomes a series of calls that are resolved entirely in sequence. - Note that while ``loop`` uses the same syntax as ordinary function definitions for its lambda list, all arguments other than ``#* args`` and ``#* kwargs`` must have a default value, because the function will first be called with no arguments." + Note that while ``loop`` uses the same syntax as ordinary function definitions for its lambda list, all parameters other than ``#* args`` and ``#** kwargs`` must have a default value, because the function will first be called with no arguments." `(do (defn ~g!f ~bindings