Re: when and unless

2011-12-07 Thread David Kastrup
"Chris K. Jester-Young" writes: > On Tue, Dec 06, 2011 at 11:08:08PM +0100, David Kastrup wrote: >> > Have you considered using `(values)' as your way of saying, "I'm not >> > returning any values"? >> >> Testing for that is not all that much fun. It is also rather useless >> since pretty much

And another deprecation joke

2011-12-07 Thread David Kastrup
`dimensions->uniform-array' is deprecated. Use `make-typed-array' instead. Unfortunately, this was not even called in the application. The actual function called was make-uniform-vector. If we look at the documentation of make-typed-array, we find http://www.gnu.org/software/guile/manual/html

Re: new module: (web client)

2011-12-07 Thread Ludovic Courtès
Hi, Andy Wingo skribis: > scheme@(guile-user)> (getaddrinfo #f "file") > ERROR: In procedure getaddrinfo: > ERROR: Throw to key `getaddrinfo-error' with args `(-8)'. > > I guess we need to add exception printers for these errors. Want to do > that? :-) Yes! Done. Ludo’.

Re: And another deprecation joke

2011-12-07 Thread Noah Lavine
Hello, > This, however, is a lie, since there is no place above where "vectag" > would be explained.  There is an explanation about how it will be > printed as part of an array, but not how it is specified. > > Would it please be possible > > a) to not just deprecate some function when there are _

Re: when and unless

2011-12-07 Thread Ludovic Courtès
Hi, l...@gnu.org (Ludovic Courtès) skribis: > Andy Wingo skribis: > >> On Thu 30 Jun 2011 12:44, Andy Wingo writes: >> >>> I think we should add `when' and `unless' to the default environment. >>> >>> They go like this: >>> >>> (define-syntax when >>> (syntax-rules () >>> ((_ test t

Re: when and unless

2011-12-07 Thread David Kastrup
l...@gnu.org (Ludovic Courtès) writes: > l...@gnu.org (Ludovic Courtès) skribis: > >> Andy Wingo skribis: >> >>> On Thu 30 Jun 2011 12:44, Andy Wingo writes: >>> I think we should add `when' and `unless' to the default environment. They go like this: (define-syntax whe

Re: And another deprecation joke

2011-12-07 Thread Andy Wingo
On Wed 07 Dec 2011 13:58, David Kastrup writes: > `dimensions->uniform-array' is deprecated. Use `make-typed-array' instead. > > Unfortunately, this was not even called in the application. > > The actual function called was make-uniform-vector. Ah, interesting. You might not be a native englis

Re: guile-clutter

2011-12-07 Thread Andy Wingo
On Fri 09 Sep 2011 16:11, joa...@verona.se writes: > I would like to experiment with guile-clutter. > It seems, though, that guile-clutter is a bit out of date and wont build > with clutter-1.0 which is shipped with Fedora 15. > > Is this correct or have I missed something? It's correct. Do I re

Re: And another deprecation joke

2011-12-07 Thread David Kastrup
Andy Wingo writes: > On Wed 07 Dec 2011 13:58, David Kastrup writes: > >> `dimensions->uniform-array' is deprecated. Use `make-typed-array' instead. >> >> Unfortunately, this was not even called in the application. >> >> The actual function called was make-uniform-vector. > > Ah, interesting. >

Re: when and unless

2011-12-07 Thread Chris K. Jester-Young
On Wed, Dec 07, 2011 at 10:23:25AM +0100, David Kastrup wrote: > Lilypond is not Scheme but has a more complex syntax. You can use > Scheme in a lot of places with different implications on the grammar > depending on the type of the expression. It would not be feasible to > create a separate Sche

Re: when and unless

2011-12-07 Thread Chris K. Jester-Young
On Tue, Dec 06, 2011 at 12:17:06PM +0100, David Kastrup wrote: > I've actually wondered if it would not make sense to return > *unspecified* in the case of the plain else-less if even if the > condition is true, namely when you write (if #t #t). This cannot be done without breaking the tail positi

Re: And another deprecation joke

2011-12-07 Thread David Kastrup
Noah Lavine writes: > What you are noticing now is that Guile has some old bits of code that > were not implemented up to the standards we currently have. Since you > seem to be using all the weird corners of Guile, you have the > un-enviable job of going through and finding all of these places s

Re: guile-clutter

2011-12-07 Thread joakim
Andy Wingo writes: > On Fri 09 Sep 2011 16:11, joa...@verona.se writes: > >> I would like to experiment with guile-clutter. >> It seems, though, that guile-clutter is a bit out of date and wont build >> with clutter-1.0 which is shipped with Fedora 15. >> >> Is this correct or have I missed somet

Re: And another deprecation joke

2011-12-07 Thread rixed
You seam to believe that there is on one hand the guile developers and on another one the guile users, facing each others on the ground of some kind of contract that's being somewhat abused by the developers. In reality, guile is a project belonging to the commons and such demarcation does not exi