guile-lib 0.2.2 released

2013-01-31 Thread Andy Wingo
I am pleased to announce that Guile-Lib 0.2.2 has been released. It may be obtained at: http://download.savannah.gnu.org/releases/guile-lib/guile-lib-0.2.2.tar.gz What is Guile-Lib - Guile-Lib is intended as an accumulation place for pure-scheme Guile modules, allowing for peop

Public service announcement: avoid libgc 7.3 prereleases for now

2013-01-31 Thread Andy Wingo
Hi, A quick note to ask people to avoid libgc 7.3 for the moment. It introduces a parallel marker by default that currently doesn't work well with Guile. We'll fix Guile to deal with it, but in the meantime libgc 7.2d is the best option currently. Cheers, Andy -- http://wingolog.org/

Can somebody help to explain why result from atan does not equal a real?

2013-01-31 Thread Hengqing Hu
Dear list, The following behavior is observed on both guile 1.8 and guile 2.0. Is it correct? Can somebody elaborate why it happens? guile> (atan 0 -1) 3.14159265358979 guile> (= 3.14159265358979 3.14159265358979) #t guile> (= (atan 0 -1) 3.14159265358979) #f -- Best Regards, Hengqing Hu

Re: compile error on FreeBSD 9

2013-01-31 Thread Ludovic Courtès
z_axis skribis: > i have installed threaded libgc: > $pkg_info | grep boehm-gc > boehm-gc-7.1Garbage collection and memory leak detection for C > and C++ > boehm-gc-threaded-7.1_1 Garbage collection and memory leak detection > for C and C++ [...] > $./configure --prefix=/home/***/guile

Re: Can somebody help to explain why result from atan does not equal a real?

2013-01-31 Thread Noah Lavine
What you have here is a precision problem. When a floating-point number like pi is printed, I don't think you can guarantee that the string representation will be read in the same way it was read out. So when guile reads "3.14159265358979", it gives you some floating point number that is *close to

Re: Can somebody help to explain why result from atan does not equal a real?

2013-01-31 Thread John Darrington
On Thu, Jan 31, 2013 at 08:32:53AM -0500, Noah Lavine wrote: What you have here is a precision problem. scheme@(guile-user)> (= 3.14159265358979 (atan 0 -1)) $8 = #f scheme@(guile-user)> (= $7 (atan 0 -1)) $9 = #t It might be possible to have Guile print mo

Re: Can somebody help to explain why result from atan does not equal a real?

2013-01-31 Thread Noah Lavine
On Thu, Jan 31, 2013 at 9:50 AM, John Darrington < j...@darrington.wattle.id.au> wrote: > > pi is an irrational number. You would need an infinite number of digits > wouldn't you? > Good point :-). All I meant was enough digits that it parsed as the same floating-point number that (atan 0 -1) re

Re: [ANN] the Guile 100 Programs Project

2013-01-31 Thread Ludovic Courtès
Hi Mike, Mike Gran skribis: > Hello.  I'm pleased to announce the upcoming Guile 100 Programs > Project. Very good initiative, sounds fun! If you want we can add it to gnu.org/s/guile/news.html and/or Guile’s RSS feed (which ends up on planet.gnu.org). Ludo’.

First steps towards a window manager

2013-01-31 Thread Mark Witmer
Hi all, I thought I'd follow up on my previous post regarding xlib and a guile window manager. First of all, I have guile-xlib working with guile-2.0; I'm calling my branch "guile2-xlib." You can use git and pull it from http://github.com/mwitmer/guile2-xlib or download an archive at http://mark

Re: First steps towards a window manager

2013-01-31 Thread z_axis
That's a good start ! hope this guile WM will be more stable, fast and small compared with STUMPWM. I ever reported a tiny stumpwm problem( http://stackoverflow.com/questions/13174207/cannot-use-keyboards-numpad-to-input-digit ), but i havenot gotten answer now! 在 Fri, 01 Feb 2013 04:35:44

Re: First steps towards a window manager

2013-01-31 Thread David Thompson
On 01/31/2013 03:35 PM, Mark Witmer wrote: Hi all, I thought I'd follow up on my previous post regarding xlib and a guile window manager. First of all, I have guile-xlib working with guile-2.0; I'm calling my branch "guile2-xlib." You can use git and pull it from http://github.com/mwitmer/guile

SLIB and guile 2

2013-01-31 Thread Andrew Bernard
Greetings, Does SLIB work with guile 2? With guile 2.0.7 and slib 3b3 on Linux there appear to be incompatibilities. Are there releases that work together? Andrew

Re: Can somebody help to explain why result from atan does not equal a real?

2013-01-31 Thread Mark H Weaver
Hengqing Hu writes: > The following behavior is observed on both guile 1.8 and guile 2.0. > Is it correct? > Can somebody elaborate why it happens? > > guile> (atan 0 -1) > 3.14159265358979 > guile> (= 3.14159265358979 3.14159265358979) > #t > guile> (= (atan 0 -1) 3.14159265358979) > #f Sorry, t

Re: SLIB and guile 2

2013-01-31 Thread Mark H Weaver
Hi Andrew, Andrew Bernard writes: > Does SLIB work with guile 2? > > With guile 2.0.7 and slib 3b3 on Linux there appear to be > incompatibilities. Are there releases that work together? Andy Wingo recently posted a patch to get slib working with Guile 2.0. Hopefully a variant of it will be acce

Re: Can somebody help to explain why result from atan does not equal a real?

2013-01-31 Thread Mark H Weaver
I wrote: > Sorry, this is due to an inadequate 'number->string' implementation in > Guile. Having looked more closely, I see now that our 'string->number' is also less precise than it should be. I'll fix these issues soon. Mark

Re: Public service announcement: avoid libgc 7.3 prereleases for now

2013-01-31 Thread Nala Ginrut
On Thu, 2013-01-31 at 11:48 +0100, Andy Wingo wrote: > Hi, > > A quick note to ask people to avoid libgc 7.3 for the moment. It > introduces a parallel marker by default that currently doesn't work well > with Guile. We'll fix Guile to deal with it, but in the meantime libgc > 7.2d is the best o

Re: SLIB and guile 2

2013-01-31 Thread Jay Sulzberger
On Fri, 1 Feb 2013, Andrew Bernard wrote: Greetings, Does SLIB work with guile 2? With guile 2.0.7 and slib 3b3 on Linux there appear to be incompatibilities. Are there releases that work together? Andrew If you want, let us know how the patches offered by Andy Wingo work. I hope to