Re: [PATCHES] various commenting, whitespace changes

2010-08-27 Thread Thien-Thi Nguyen
() Andy Wingo () Mon, 28 Jun 2010 15:44:54 +0200 Sorry for the long delay in response. What does NFC mean? See LibreDWG HACKING (and build-aux/create-changelog), for more info: git://git.sv.gnu.org/libredwg.git It's useful to distinguish between "important" and "unimportant" changes, especi

eval-options, debug-options, etc.

2010-08-27 Thread Ludovic Courtès
Hello! Looking at bug #21790, it occurred to me that the options listed in ‘private-options.h’ are (1) not private, and (2) mostly abandoned. They’ve never been private and their Scheme counterpart (‘eval-options’, ‘debug-options’ & co.) are clearly public. The eval & debug options are largely a

Re: Writing to socket after shutdown

2010-08-27 Thread Jon Herron
Hi Andy - Thanks for the reply. I think SIGPIPE is indeed the right thing to do. I ended up adding a sighandler to my application and it solved the problem. I suppose it would be nice for Guile to at least display the error on exit - as in the gdb REPL example of yours, if not throw an exce

Re: [PATCHES] various commenting, whitespace changes

2010-08-27 Thread Andy Wingo
Hi Thien-Thi, Let me say first that I am really happy to have your energetic, experienced hand going over Guile sources. Thank you! I do think that small things are important, and your willingness to look at the small *and* the big is much appreciated. It's nice to have thoughtful, local commits.

Re: Writing to socket after shutdown

2010-08-27 Thread Andy Wingo
On Fri 27 Aug 2010 07:01, Jon Herron writes: > Hi Andy - > > Thanks for the reply. I think SIGPIPE is indeed the right thing to do. I > ended > up adding a sighandler to my application and it solved the problem. I suppose > it > would be nice for Guile to at least display the error on exit

Re: [PATCH] Update docs to reflect new external representation of tree-il

2010-08-27 Thread Andy Wingo
On Fri 13 Aug 2010 13:18, No Itisnt writes: > That was funny, just spent an hour trying to figure out what was wrong > with my letrec when it was really that there's no explicit in-order? > in the external representation anymore. Ew, my apologies. Fixed, thanks! Andy -- http://wingolog.org/

Re: Exposing more math functionality

2010-08-27 Thread Andy Wingo
On Thu 19 Aug 2010 09:04, Andy Wingo writes: > Regarding modf -- it seems that the R6RS extends the definition of > `modulo' (called `mod') to be defined over the real numbers. > > (mod 10 3) => 1 > (mod 10 3.0) => 1.0 > (mod 10 3.1) => 0.7 > > This appears to be a compatible extension of t

Re: [PATCHES] various commenting, whitespace changes

2010-08-27 Thread Andy Wingo
On Fri 27 Aug 2010 08:16, Andy Wingo writes: > On Fri 27 Aug 2010 01:29, Thien-Thi Nguyen writes: > >> I sidestepped [issues in guile-func-name-check], by rewriting in >> Scheme (and using Emacs' ‘indent-sexp’). Unfortunately, it looks like >> hydra is not liking it: >> >> http://hydra.nixos.or

Re: [PATCHES] various commenting, whitespace changes

2010-08-27 Thread Thien-Thi Nguyen
() Andy Wingo () Fri, 27 Aug 2010 13:15:32 -0700 I went to build a fresh Guile on a machine at work and realized that this approach is quite slow, because it runs before the rest of Guile is compiled. It's much better code, but I think in order to snarf docs in Scheme we need to d

Re: eval-options, debug-options, etc.

2010-08-27 Thread Andy Wingo
Hello! On Fri 27 Aug 2010 02:51, l...@gnu.org (Ludovic Courtès) writes: > So, what do you think? What should be kept, deprecated, etc.? MHO is that all of those symbols should be removed. We will need noop shims so that we don't gratuitously break people's compiles, but I don't think we want to

Re: Exposing more math functionality

2010-08-27 Thread Andy Wingo
On Fri 27 Aug 2010 08:44, Andy Wingo writes: > On Thu 19 Aug 2010 09:04, Andy Wingo writes: > >> Regarding modf -- it seems that the R6RS extends the definition of >> `modulo' (called `mod') to be defined over the real numbers. >> >> (mod 10 3) => 1 >> (mod 10 3.0) => 1.0 >> (mod 10 3.1) =