yet there is another interesting thing:
(symbol? 'a) => #t
(symbol? '+a) => #t
(symbol? '-a) => #t
(symbol? 'b) => #t
(symbol? '+b) => #t
(symbol? '-b) => #t
BUT:
(symbol? 'i) => #t
(symbol? '+i) => #f
(symbol? '-i) => #f
In guile-scsh, user would like the guile recognize -i as symbols
rather t
On Tue 17 Sep 2013 20:45, Dmitry Bogatov writes:
> $2 = ((name . foo) (foo . bar) (baz . qux))
> As you can see, I am missing arity. Is it git patch?
Probably you're using master. I think arity is not a property there,
but instead accessed using other accessors.
Regards,
Andy
--
http:/
Andy Wingo writes:
>> I it will be found useful enough, I will gladly work on patch to integrate
>> doctest in Guile guild script.
>
> I was going to write exactly this! "guild doctest '(foo)'" sounds
> sensible to me.
>
> Note also that the compiler will residualize other properties in
> addit
Dmitry Bogatov writes:
> Hello!
> I am glad to offer implementation of doctest in Guile --- way to declare
> and check tests in function docstring. In most simple way, if in
> docstring you write following:
>
> +++ (foo 1 2 3)
> --- 6
I have to admit, I really don't like these sorts of m
Andy Wingo writes:
>> Today I tried to statprof my toy application, that uses htmlprag
>> since it is too slow (4 sec on one page) vs 0.5 with Python.
>> Statprof says, that most of time takes `eval` function, but I checked
>> htmlprag source --- it does not use eval. So question is where is it
>
On Tue 10 Sep 2013 11:19, Mark H Weaver writes:
> Darren Hoo writes:
>
>> OK, let's add something to the body
>>
>> (http-post "http://www.google.com/"; #:body "")
>>
>> Howcome the request now becomes an http GET request:
>>
>> GET / HTTP/1.1
>> Content-Type: text/plain;charset=utf-8
>> Host: w
On Tue 17 Sep 2013 18:14, Dmitry Bogatov writes:
> Hello!
>
> Today I tried to statprof my toy application, that uses htmlprag
> since it is too slow (4 sec on one page) vs 0.5 with Python.
> Statprof says, that most of time takes `eval` function, but I checked
> htmlprag source --- it does not u
Hi!
On Sat 14 Sep 2013 16:43, David Thompson writes:
> I'm hoping to make a 0.1 release guile-2d soon (maybe by the GNU 30th
> anniversary?), but I would like to wait until guile-figl has made a
> release so that I can point users to a release tarball rather than
> asking them to compile from gi
On Tue 17 Sep 2013 14:37, Panicz Maciej Godek writes:
> So my question is: what is the status of the statprof?
It's fine :)
> (define (increase x)
> (sleep 1)
> (1+ x))
>
> (begin
> (statprof-reset 0 500 #t)
> (statprof-start)
> (let loop ((i 0))
> (if (< i 10)
> (loop (increase i))
> i))
> (st
On Wed 11 Sep 2013 17:03, Dmitry Bogatov writes:
> $ guile doctest.scm '(foo)'
Neat!
> + Your ideas?
>
> I it will be found useful enough, I will gladly work on patch to integrate
> doctest in Guile guild script.
I was going to write exactly this! "guild doctest '(foo)'" sounds
sensible to me
On Tue 17 Sep 2013 18:14, Dmitry Bogatov writes:
> Hello!
>
> Today I tried to statprof my toy application, that uses htmlprag
> since it is too slow (4 sec on one page) vs 0.5 with Python.
> Statprof says, that most of time takes `eval` function, but I checked
> htmlprag source --- it does not u
Panicz Maciej Godek skribis:
> I've been trying to run the statprof that's
> shipped with guile-2.0 with the following
> code, but it reports "no samples taken".
That probably means that the code being profiled runs too fast compared
to the sample rate.
The ‘with-statprof’ macro allows you to s
Hello!
Today I tried to statprof my toy application, that uses htmlprag
since it is too slow (4 sec on one page) vs 0.5 with Python.
Statprof says, that most of time takes `eval` function, but I checked
htmlprag source --- it does not use eval. So question is where is it
called and what can I do
Brian Killian skribis:
> On Thu, Sep 12, 2013 at 6:04 PM, Ludovic Courtès wrote:
>
>> Brian Killian skribis:
>>
>> > Using guile 2.0.9 and the ice-9 pretty-print module, when I apply:
>> >
>> > (pretty-print '(1+ 1))
>> >
>> > I get:
>> >
>> > (#{1+}# 1)
>> >
>> > I was expecting:
>> >
>> > (1+
Hi,
I've been trying to run the statprof that's
shipped with guile-2.0 with the following
code, but it reports "no samples taken".
The issue started with another project that
I wanted to profile, and there it worked, but
didn't count the calls (reported 0 to all of them).
So I decided to see that
15 matches
Mail list logo