|
From: | Matt Gushee |
Subject: | Re: [Chicken-users] specialized-io egg version discrepancy |
Date: | Sat, 9 May 2015 14:25:22 -0600 |
On Fri, May 08, 2015 at 06:48:48PM -0600, Matt Gushee wrote:
> In addition to shadowing the builtin write-string, this write-string causes
> a segfault when I attempt to use it within 'with-output-to-string' in csi.
> Haven't looked into it any further yet, but that doesn't seem very good.
This seems to work fine:
(use specialized-io)
(define out (open-output-file "out.txt"))
(write-string (with-output-to-string (lambda () (write "xyz") )) out)
(close-output-port out)
[Prev in Thread] | Current Thread | [Next in Thread] |