Re: port-with-print-state doesn't create a port? Or, when is a port not a port? :-)

2014-05-26 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: > Doug Evans skribis: > >> The problem can be succinctly represented by the following: >> >> scheme@(guile-user)> (port? (port-with-print-state (current-output-port))) >> $3 = #f > > I think the short answer is that it’s a very old API that’s essentially > u

Re: port-with-print-state doesn't create a port? Or, when is a port not a port? :-)

2014-05-26 Thread Ludovic Courtès
Mark H Weaver skribis: > l...@gnu.org (Ludovic Courtès) writes: > >> Doug Evans skribis: >> >>> The problem can be succinctly represented by the following: >>> >>> scheme@(guile-user)> (port? (port-with-print-state (current-output-port))) >>> $3 = #f >> >> I think the short answer is that it’s a