From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Hartwig Newsgroups: gmane.lisp.guile.devel Subject: Re: Record type printers for SRFI 45 promises and SRFI 41 streams Date: Mon, 8 Apr 2013 07:13:09 +0800 Message-ID: References: <20130407164935.GA22923@lotus.destinee.acro.gen.nz> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1365445676 4331 80.91.229.3 (8 Apr 2013 18:27:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Apr 2013 18:27:56 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Apr 08 20:28:00 2013 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UPGnL-0000pw-MG for guile-devel@m.gmane.org; Mon, 08 Apr 2013 20:27:55 +0200 Original-Received: from localhost ([::1]:43163 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UOym5-0003Ct-4U for guile-devel@m.gmane.org; Sun, 07 Apr 2013 19:13:25 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50391) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UOylw-0003CN-P2 for guile-devel@gnu.org; Sun, 07 Apr 2013 19:13:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UOylq-0002is-Sz for guile-devel@gnu.org; Sun, 07 Apr 2013 19:13:16 -0400 Original-Received: from mail-ia0-x235.google.com ([2607:f8b0:4001:c02::235]:36285) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UOylq-0002il-Nx for guile-devel@gnu.org; Sun, 07 Apr 2013 19:13:10 -0400 Original-Received: by mail-ia0-f181.google.com with SMTP id o25so4558191iad.40 for ; Sun, 07 Apr 2013 16:13:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=ErGQF889eumt0g1Be0/TVKxfnp6M4q0OmgIuibBE//g=; b=K1MErmUKgiC0LNtWRSkC9+sWn+uLVrxbe7CD7SmwkA0CjmWhIIkhZB/QaV+CEAKhzJ Zxh1CuVdclU0bTqv6aJaITr45j37+UQZoWbfpUxqZbWWDQrHzdJ+xpeK2g9PmYLJQKRg be5K8/reHeCAIHgT+j1frKw+nmbRkgs2iQyJO1EHuhTT2Wowd3mT7l0VD8EW3IhHHAGc Oz070PZMzmknGCH24sU75p56bWYzPZIXGul2T3xx9arhgJ3NAVVmkGsH//92OVmdRiCx g0KvnfyY8BxqbesMjfu51slHt7TcU1ZfCHnkiEhvtYuXOqXD+i+BYnY2g/7m+wxugmyE L+HQ== X-Received: by 10.50.134.4 with SMTP id pg4mr5244770igb.96.1365376390092; Sun, 07 Apr 2013 16:13:10 -0700 (PDT) Original-Received: by 10.64.26.168 with HTTP; Sun, 7 Apr 2013 16:13:09 -0700 (PDT) In-Reply-To: <20130407164935.GA22923@lotus.destinee.acro.gen.nz> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c02::235 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:16197 Archived-At: On 8 April 2013 00:49, Chris K. Jester-Young 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 # ...> for unevaluated promises, and > # 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. I dont see much value in distinguishing between eager and lazy, particularly as this leads to an unusual display format. What difference does it make how the object was constructed? Also, this is not avoiding "#" is succinct and sufficient.