me
/
guix
Archived
1
0
Fork 0

discovery: Fix typo.

* guix/discovery.scm (fold-module-public-variables*): In the docstring,
replace (PROC MODULE SYMBOL VARIABLE) with (PROC MODULE SYMBOL VARIABLE
RESULT).
Arun Isaac 2020-07-05 03:44:05 +05:30
parent 60941b94e2
commit 9e85f652cb
No known key found for this signature in database
GPG Key ID: 2E25EE8B61802BB3
1 changed files with 3 additions and 3 deletions

View File

@ -153,9 +153,9 @@ SUB-DIRECTORY. Modules are listed in the order they appear on the path."
(reverse (fold-modules cons '() path #:warn warn)))
(define (fold-module-public-variables* proc init modules)
"Call (PROC MODULE SYMBOL VARIABLE) for each variable exported by one of MODULES,
using INIT as the initial value of RESULT. It is guaranteed to never traverse
the same object twice."
"Call (PROC MODULE SYMBOL VARIABLE RESULT) for each variable exported by one
of MODULES, using INIT as the initial value of RESULT. It is guaranteed to
never traverse the same object twice."
;; Here SEEN is populated by variables; if two different variables refer to
;; the same object, we still let them through.
(identity ;discard second return value