unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Daniel Hartwig <mandyke@gmail.com>
To: guile-devel@gnu.org
Subject: Re: Record type printers for SRFI 45 promises and SRFI 41 streams
Date: Mon, 8 Apr 2013 07:19:04 +0800	[thread overview]
Message-ID: <CAN3veRfOAmGi8QkoCzCu8KCjW2QX0LCxnHTKagvNDPi571jXeg@mail.gmail.com> (raw)
In-Reply-To: <CAN3veRejd6CuGJh32WpMd5gy6fja7-8T2J9+3aNaTA-HtQUFRg@mail.gmail.com>

On 8 April 2013 07:13, Daniel Hartwig <mandyke@gmail.com> wrote:
> On 8 April 2013 00:49, Chris K. Jester-Young <cky944@gmail.com> wrote:
>> Hi all,
>>
>> I've attached record type printers for SRFI 45 promises and SRFI 41
>> streams. I've tried to make promise-visit more self-documenting with
>> the use of keyword arguments; let me know if you think that's an
>> improvement!
>>
>> Also as discussed with Mark H Weaver, I've currently implemented the
>> format for promises as #<promise => ...> for unevaluated promises, and
>> #<promise = ...> for evaluated ones. Hopefully this is is easy to read
>> and will clearly distinguish between the two types, and still look
>> different from core promises too.

To distinguish from core promises a more explicit tag is preferable,
like srfi-69 uses:

#<srfi-45:promise OBJ-ADDR>

Regards



  reply	other threads:[~2013-04-07 23:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-07 16:49 Record type printers for SRFI 45 promises and SRFI 41 streams Chris K. Jester-Young
2013-04-07 17:01 ` Mark H Weaver
2013-04-07 23:13 ` Daniel Hartwig
2013-04-07 23:19   ` Daniel Hartwig [this message]
2013-04-08 19:31   ` Mark H Weaver

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=CAN3veRfOAmGi8QkoCzCu8KCjW2QX0LCxnHTKagvNDPi571jXeg@mail.gmail.com \
    --to=mandyke@gmail.com \
    --cc=guile-devel@gnu.org \
    /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).