l...@gnu.org (Ludovic Courtès) writes:
> Hello!
>
> Did you mean to email guile-user@gnu.org?
>
Yes!
> Alex Vong skribis:
>
>> When trying to write some C binding to flex using libguile-2.0, I notice
>
> FWIW, I’d suggest using something like Danny Dubé’s SILex instead of
> writing bindings to
2016-03-20 11:38 GMT+01:00 Park SungMin :
>
> is it possible to expand via squared-bracket.
>
> i.e... [1 2 3] => (list 1 2 3) [(+ 1 2) 3] => (list (+ 1 2) 3)
>
>
> I know (read-enable 'square-brackets) ...but It just same paren.
>
> [1 2 3] => (1 2 3)
>
> is it possible?
>
The closest thing
is it possible to expand via squared-bracket.
i.e... [1 2 3] => (list 1 2 3) [(+ 1 2) 3] => (list (+ 1 2) 3)
I know (read-enable 'square-brackets) ...but It just same paren.
[1 2 3] => (1 2 3)
is it possible?
Alex Kost :
> Ah, thanks! I get it. But I also want to check an exit status of the
> running command (sorry, that I didn't mention it). So I would like to
> have the following procedure:
>
> (define (system-no-output* . args)
> "Like 'system*' but suppress the output of the command indicated
Marko Rauhamaa (2016-03-19 14:02 +0300) wrote:
> Alex Kost :
>
>> Hello, in the guile REPL I evaluated the following:
>>
>> (with-output-to-port (%make-void-port "w")
>> (lambda () (display "foo") (newline)))
>>
>> and I got no output as expected. Then I tried the following:
>>
>> (with-o