Mark H Weaver <m...@netris.org> 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’.


Reply via email to