Re: (list-head lst k) with k longer than (length lst)

2015-11-18 Thread Jan Synáček
On Tue, Nov 17, 2015 at 10:27 PM, Mark H Weaver wrote: > Chris Vine writes: > >> On Tue, 17 Nov 2015 11:53:05 +0100 >> Jan Synáček wrote: >>> Hello, >>> >>> I'm getting: >>> >>> scheme@(guile-user)> (list-head '(1 2 3) 5) >>> ERROR: In procedure list-head: >>> ERROR: In procedure list-head: Wron

Re: Reading data from a file descriptor

2015-11-18 Thread Jan Synáček
On Tue, Nov 17, 2015 at 1:59 PM, Chris Vine wrote: > On Tue, 17 Nov 2015 10:53:19 +0100 > wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> On Mon, Nov 16, 2015 at 11:54:33AM +0100, Amirouche Boubekki wrote: >> > On 2015-11-13 21:41, Jan Synáček wrote: >> >> [...] >> >> > >I have a

Re: Asynchronous event loop brainstorm at FSF 30

2015-11-18 Thread Chris Vine
On Tue, 17 Nov 2015 11:46:24 -0600 Christopher Allan Webber wrote: [snip] > This sounds very interesting... is the source available? Could you > point to it? > > Thanks! > - Chris No it's not. I'll email you something. Chris

Re: Asynchronous event loop brainstorm at FSF 30

2015-11-18 Thread Mikael Djurfeldt
Den 4 okt 2015 02:30 skrev "Christopher Allan Webber" < cweb...@dustycloud.org>: > - This would be like asyncio or node.js, asynchronous but *not* OS >thread based (it's too much work to make much of Guile fit around >that for now) Why is this (too much work for threads)?

Re: Asynchronous event loop brainstorm at FSF 30

2015-11-18 Thread Christopher Allan Webber
Mikael Djurfeldt writes: > Den 4 okt 2015 02:30 skrev "Christopher Allan Webber" < > cweb...@dustycloud.org>: >> - This would be like asyncio or node.js, asynchronous but *not* OS >>thread based (it's too much work to make much of Guile fit around >>that for now) > > Why is this (too much

Re: Asynchronous event loop brainstorm at FSF 30

2015-11-18 Thread Christopher Allan Webber
Chris Vine writes: > On Tue, 17 Nov 2015 11:46:24 -0600 > Christopher Allan Webber wrote: > [snip] >> This sounds very interesting... is the source available? Could you >> point to it? >> >> Thanks! >> - Chris > > No it's not. I'll email you something. > > Chris Thanks! I'm reading the code

Re: Asynchronous event loop brainstorm at FSF 30

2015-11-18 Thread Mikael Djurfeldt
Yes. I'm sure both you and Mark can judge this better than can, currently. I just didn't think Guile was that thread-unsafe. I imagined you would have to use mutexes around some I/O and common datastructures, and that that would be about it, but I'm probably wrong... Best regards, Mikael On We

Unintentional conflict in define-immutable-type?

2015-11-18 Thread Rob Browning
This crashes in 2.0: (use-modules (srfi srfi-9 gnu)) (define-immutable-record-type foo (foo x) foo? (x x)) (foo 1) like this: foo.scm:10:9: In procedure #: foo.scm:10:9: In procedure make-struct: Wrong type argument in position 1: # Changing the type name to (or even

Guile-Clutter 1.12.2 released

2015-11-18 Thread David Pirotte
Hello, We are pleased to announce Guile-Clutter 1.12.2, the next maintenance release for the Guile-Clutter 1.0 series. * Guile-Clutter Homepage: http://www.gnu.org/software/guile-gnome/clutter * Guile-Clutter 1.12.2 release tarball GPG signature [*]: http://download.savanna