unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Vijay Marupudi <vijaymarupudi@gatech.edu>
To: adriano <randomlooser@riseup.net>, guile-user <guile-user@gnu.org>
Subject: Re: code review request
Date: Sat, 26 Feb 2022 11:36:26 -0500	[thread overview]
Message-ID: <87y21xlh4l.fsf@vijaymarupudi.com> (raw)
In-Reply-To: <3cbcf4f1e624e54d6c4e459d9fc156ab9a5e6f31.camel@riseup.net>

> I get a result I don't understand: this return 2 values

Reading the source code, the second value is an implementation detail,
keeping track of the visited directories.

> One is expected, it's the one I wanted to produce

Great! I would ignore the second value, because it is a by product of
the recursive implementation of file-system-fold, where it passes the
visited list to recursive invocations of itself.

~ Vijay



  reply	other threads:[~2022-02-26 16:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-26 10:31 code review request adriano
2022-02-26 16:36 ` Vijay Marupudi [this message]
2022-02-27 10:51   ` adriano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y21xlh4l.fsf@vijaymarupudi.com \
    --to=vijaymarupudi@gatech.edu \
    --cc=guile-user@gnu.org \
    --cc=randomlooser@riseup.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).