Ian Price writes:
> taylanbayi...@gmail.com (Taylan Ulrich B.) writes:
>
>> (define-syntax endianness
>> (syntax-rules ()
>> ((_ big) 'big)
>> ((_ little) 'little)))
> Except now whenever you use it, you only ever get big endianness. You
>
kact...@gnu.org writes:
> From: Dmitry Bogatov
>
> As I can see, definition with define-macro is hygienic and
> move to syntax-rules adds two lines of code, but define-syntax
> is considered preferable.
>
> WDYT?
> Signed-off-by: Dmitry Bogatov
> ---
> module/rnrs/bytevectors.scm | 11 ++
I see `string-rindex' is equivalent to (and implemented via)
`string-index-right'. The latter is the SRFI-13 name, the former I
suppose Guile-specific; is there a reason not to deprecate the former?
l...@gnu.org (Ludovic Courtès) writes:
> taylanbayi...@gmail.com (Taylan Ulrich B.) skribis:
>
>> It occurred to me that nil and t are basically just symbols in Elisp,
>> just with some magical properties. Like any symbol, they respond to
>> symbolp, have a plist, value a
Alexandru Cojocaru writes:
> (define (make-copy str)
> (let ((s (string-copy str)))
> (begin
> (string-set! s 0 #\a)
> s)))
FYI the `begin' there is redundant.
(define (make-copy str)
(let ((s (string-copy str)))
(string-set! s 0 #\a)
s))
This is idiomatic Scheme code; it
FYI, the CC'd address of BT Templeton is wrong (.net not .org), sorry
about that.
Neil Jerram writes:
> Solution for what problem?
A from-scratch explanation, just so I'm sure I'm clear:
For different languages running on Guile to integrate seamlessly, we
want them to share as many data-types as possible. E.g. it would be
inacceptable if a JavaScript function returned `true
erwise no way to pass Elisp data
to Scheme procedures (eval-scheme takes a string). The problems they
solve will probably be solved better in the future.
>From f926a808e98e9ace24d07ee9ca7c1137f4670a62 Mon Sep 17 00:00:00 2001
From: Taylan Ulrich B
Date: Thu, 1 Aug 2013 03:45:09 +0300
Subjec
Dmitry Bogatov writes:
> Hello!
>
> Beeing in need to parse html(not xml) with Guile, I discovered that we
> have no one-true-way solution, like python's Beautiful Soup. The best we
> have is htmlprag-0.16. It works for me, good documented(even in
> TexInfo), but it is dropped by it's author. I t
l...@gnu.org (Ludovic Courtès) writes:
> taylanbayi...@gmail.com (Taylan Ulrich B.) skribis:
>
>> l...@gnu.org (Ludovic Courtès) writes:
>>
>>> What about just:
>>>
>>> (make-parameter (getenv "http_proxy"))
>>
>> The empty-st
l...@gnu.org (Ludovic Courtès) writes:
> What about just:
>
> (make-parameter (getenv "http_proxy"))
The empty-string case needs to be handled specially, no? Perhaps:
(define current-http-proxy
(make-parameter (getenv "http_proxy")
(lambda (proxy)
r commit in Guile for examples also.
>
> I'm being picky but it's worth it for this first of many patches :)
>
> Regards,
>
> Andy
No problem at all being picky, I'm all for consistency. :)
Still a Gnus-noob, I hope this attachment is fine.
>From ce82e318bc35201c
Andy Wingo writes:
> On Mon 13 May 2013 00:47, taylanbayi...@gmail.com (Taylan Ulrich B.) writes:
>
>> The manual section 6.17.5, (info "(guile) Compilation"), doesn't say
>> in which module the functions it mentions reside. Here is a patch for
>> doc/re
The manual section 6.17.5, (info "(guile) Compilation"), doesn't say
in which module the functions it mentions reside. Here is a patch for
doc/ref/api-evaluation.texi:
diff --git a/doc/ref/api-evaluation.texi b/doc/ref/api-evaluation.texi
index 63b1d60..afde42d 100644
--- a/doc/ref/api-evaluation
I wanted to note that, given a working boehm-gc (the next release, 7.2d,
should work on OpenBSD 5.1, but newer OpenBSD versions, having switched
to rthreads, will break it again), and a set of build flags similar to
the following (these are tied to my personal setup) should allow one to
build guile
15 matches
Mail list logo