(close-output-port stringport)

From: Johann Friedrich Heinrichmeyer <Fritz.Heinrichmeyer_at_FernUni-Hagen.de>
Date: Tue, 16 May 95 09:18:14 +0200

it would be very elegant to manipulate strings with the aid of ports
derived from (open-output-string). This port collects chars ... . What
if i want to "clear" it . On my linux version, after (close-output-port
stringport) i get an empty string from (get-output-string
stringport). On the sun there is a coredump. My intention is to clear
the port very often. Is garbage collection cheap for stringports? Is it
better to simply (let ...) it be a new one, like in the example of the


Fritz Heinrichmeyer                             FernUniversitaet Hagen
FAX:   +49 2371/566236                          LG Elektronische Schaltungen
EMAIL: fritz.heinrichmeyer_at_fernuni-hagen.de     Frauenstuhlweg 31
PHONE: +49 02371/566-243                        58644 Iserlohn (Germany)
WWW:  http://ES-sun2.fernuni-hagen.de
Received on Tue May 16 1995 - 09:19:58 CEST

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST