Hi,
I've read about hooks in the manual recently and I don't understand
why they are special. What is the difference between a hook and a
plain list of procedures? Why do hooks have their own API?
Cheers,
--
Jan Synáček
On Mon, Nov 28, 2016 at 3:19 PM, Thompson, David
wrote:
> On Mon, Nov 28, 2016 at 3:47 AM, Jan Synáček wrote:
>> On Fri, Nov 25, 2016 at 9:36 AM, wrote:
>> ...
>> Yes, but even a small (about 3 modules and a few 100s LoC) project of
>> mine compiles about 3 times s
On Mon, Nov 28, 2016 at 10:34 AM, wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On Mon, Nov 28, 2016 at 09:47:08AM +0100, Jan Synáček wrote:
>> On Fri, Nov 25, 2016 at 9:36 AM, wrote:
>> > -BEGIN PGP SIGNED MESSAGE-
>> > Hash: SHA1
>
On Fri, Nov 25, 2016 at 9:36 AM, wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On Fri, Nov 25, 2016 at 08:31:23AM +0100, Jan Synáček wrote:
>> Hello,
>>
>> while building guile-2.1.4 for Fedora, I noticed that the compilation
>> got *really*
build/480524/
Cheers,
--
Jan Synáček
On Sun, Nov 20, 2016 at 7:31 PM, wrote:
>
> Panicz Maciej Godek wrote:
>> 2016-11-20 11:42 GMT+01:00 Jan Synáček :
>>
>> >
>> > >> Please, tell me that this is just a mistake... This can't be true. I
>> > >> still c
On Sat, Nov 19, 2016 at 11:55 PM, Panicz Maciej Godek
wrote:
>
>
> 2016-11-19 19:34 GMT+01:00 Jan Synáček :
>>
>> Hi,
>>
>> scheme@(guile-user)> ,use (srfi srfi-1)
>> scheme@(guile-user)> (take (list 1 2 3) 4)
>> ERROR: In procedure list-head:
&g
On Sat, Nov 19, 2016 at 10:18 PM, Jan Nieuwenhuizen wrote:
> Jan Synáček writes:
>
>> scheme@(guile-user)> ,use (srfi srfi-1)
>> scheme@(guile-user)> (take (list 1 2 3) 4)
>> ERROR: In procedure list-head:
>> ERROR: In procedure list-head: Wrong type argum
ERROR: In procedure list-tail: Wrong type argument in position 1
(expecting pair): ()
Please, tell me that this is just a mistake... This can't be true. I
still can't believe it. This is from 2.0.11. Please, tell me that the
implementation is fixed in 2.2.
Yours truly puzzled,
--
Jan Synáček
rrent installation. Is there a good way to achieve this without
moving files around and running sed on them?
Cheers,
--
Jan Synáček
ro to Breakpoints". When I click "Up", I
get to "3.4 Debugging Features", which is correct. However, from 3.4,
there is no way to get back to 3.4.2. In fact, I didn't find a way to
get to 3.4.2 at all.. The links from 3.4 point to 3.4.1, 3.4.4 and
6.15.
Cheers,
--
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
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
'k' is bigger than its length? If that is not
the case, at least the error is really confusing. I'm using Guile
2.0.11.
Cheers,
--
Jan Synáček
On Fri, Nov 13, 2015 at 9:45 PM, Thompson, David
wrote:
> On Fri, Nov 13, 2015 at 3:41 PM, Jan Synáček wrote:
>>
>> I have an open fd to a unix socket and I want to read data from it. I
>> know that the data is going to be only strings, but I don't know the
>> l
On Fri, Nov 13, 2015 at 4:51 PM, Mark H Weaver wrote:
>
> Jan Synáček writes:
>
> > On Sun, Nov 8, 2015 at 12:49 AM, Andreas Rottmann
> > wrote:
> >
> > Also note that if there's no requirement to actually implement
> > this in
> >
omething very similar that I ended up with. Just instead of
get-byte-vector, I used read-string!/partial.
> You could now just implement `acquire-valid-fd' in C and expose it to
> Scheme, if that is even necessary. If you have the FD available via
> e.g. an environment variable, `acquire-valid-fd' can be implemented in
> Scheme as well.
>
> Regards, Rotty
> --
> Andreas Rottmann -- <http://rotty.xx.vu/>
>
Thank you for all the responses!
--
Jan Synáček
have something like this:
const size_t bufsize = 4096;
char buf[bufsize+1];
ssize_t count;
int fd;
fd = require_valid_fd()
count = read(fd, buf, bufsize);
buf[count] = '\0';
printf("read: %s\n", buf);
Cheers,
--
Jan Synáček
18 matches
Mail list logo