[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.7-291-g4
From: |
Ludovic Courtès |
Subject: |
Re: [Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.7-291-g4a1cdc9 |
Date: |
Sun, 07 Apr 2013 00:49:15 +0200 |
User-agent: |
Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.3 (gnu/linux) |
Mark H Weaver <address@hidden> skribis:
> I'd like to hear opinions on how to print promises. Here are mine:
>
> * I don't like #<eager ...> and #<lazy #<procedure ...>>.
>
> * Both forms should start with #<promise ...>, because from a user's
> point of view that is the type.
+1
> * We should avoid printing "#<procedure" in there. Some kind of
> location tag would be useful, but let's make it more compact.
Yeah, (number->string (object-address x) 16) should be enough.
Ludo’.