Re: [PATCH] fix locale string reading

2011-11-09 Thread Peter Brett
Nala Ginrut writes: > But Guile will break in (command-line) proc, because Chinese string as > command arguments can not get valid result from >  "u32_conv_from_encoding" called by "scm_from_stringn", and raised an > error.  Probably what should happen is that Guile's command-line parsing code s

Re: [PATCH] fix locale string reading

2011-11-09 Thread Nala Ginrut
On Wed, Nov 9, 2011 at 6:20 PM, Peter Brett wrote: > Nala Ginrut writes: > > > But Guile will break in (command-line) proc, because Chinese string as > > command arguments can not get valid result from > > "u32_conv_from_encoding" called by "scm_from_stringn", and raised an > > error. > > Proba

Re: [PATCH] fix locale string reading

2011-11-09 Thread Peter Brett
Nala Ginrut writes: > This couldn't be the final solution. > Even we add a (command-line-bv), it may cause encoding-error. Because > (command-line) would read argv too , and raise the error. > Unless we use (command-line-bv) and delete (command-line). (command-line-bv) should never cause an "enc

Re: (define-module (foo) #:import (...)), a la r6rs

2011-11-09 Thread Andy Wingo
Hi, Procrastinating :) On Thu 28 Jul 2011 23:23, l...@gnu.org (Ludovic Courtès) writes: > Andy Wingo skribis: > >> So what do you all think about: >> >> (define-module (foo) >> #:import ((bar) >> (only (baz) qux foo) >> ...)) >> >> Or even: >> >> (define-modu

Re: Difference letrec & environment binding (again)

2011-11-09 Thread Andy Wingo
On Thu 04 Aug 2011 10:56, Hans Aberg writes: > I try to understand how Guile transforms 'letrec' (returning to the > topic of an earlier post on this list). `letrec' is translated to various things, some of which are not Scheme. As Ludo notes, see the "Fixing Letrec" paper by Dybvig et al. Andy

Re: [bug #33996] 2.0.2: Crash related to ports and threads

2011-11-09 Thread Andy Wingo
On Sun 21 Aug 2011 15:22, l...@gnu.org (Ludovic Courtès) writes: > Andy Wingo skribis: > >> Oh dear, this is a nasty one. The issue is that Guile's ports are not >> threadsafe. I hadn't thought about this one... >> >> I am adding guile-devel to the Cc for input. Any fix to this will be >> pret

Re: (define-module (foo) #:import (...)), a la r6rs

2011-11-09 Thread Ludovic Courtès
Hi! Andy Wingo skribis: > On Thu 28 Jul 2011 23:23, l...@gnu.org (Ludovic Courtès) writes: > >> Andy Wingo skribis: >> >>> So what do you all think about: >>> >>> (define-module (foo) >>> #:import ((bar) >>> (only (baz) qux foo) >>> ...)) >>> >>> Or even: >>> >

Re: [PATCH] fix locale string reading

2011-11-09 Thread Nala Ginrut
On Wed, Nov 9, 2011 at 9:45 PM, Peter Brett wrote: > Nala Ginrut writes: > > > This couldn't be the final solution. > > Even we add a (command-line-bv), it may cause encoding-error. Because > > (command-line) would read argv too , and raise the error. > > Unless we use (command-line-bv) and dele

Re: GNU Guile branch, master, updated. v2.1.0-102-g0f9f51a

2011-11-09 Thread Mark H Weaver
Hi Andy, > commit de41e56492666801078e73860a358e1c63cbc8c2 > Author: Andy Wingo > Date: Fri Nov 4 19:34:22 2011 +0100 > > hygienically rename macro-introduced bindings, reproducibly > > * module/ice-9/psyntax.scm (chi-top-sequence): Detect bindings to > identifiers introduce