Re: Hash table read syntax in guile 2.0

2013-02-17 Thread Hengqing Hu
g one hand is better than two hands. 在 2013-2-18,13:11,Daniel Hartwig 写道: > On 18 February 2013 11:28, Hengqing Hu wrote: >> Here it is: >> >> https://github.com/hudayou/fib >> >> Welcome your suggestions! > > Please see the attached patch. > > For r

Re: Hash table read syntax in guile 2.0

2013-02-17 Thread Hengqing Hu
Here it is: https://github.com/hudayou/fib Welcome your suggestions! 在 2013-2-18,11:24,Daniel Hartwig 写道: > On 18 February 2013 11:14, Hengqing Hu wrote: >> Though I didn't look into the implementation. >> >> I suppose length is a constant time operation here, >

Re: Hash table read syntax in guile 2.0

2013-02-17 Thread Hengqing Hu
ow whether there are still something left, so I need to examine it. Or if something can tell me. All is about to be able to have constant time access to specific information in this hash table implementation. 在 2013-2-18,10:47,Daniel Hartwig 写道: > On 18 February 2013 10:36, Hengqing Hu wro

Re: Hash table read syntax in guile 2.0

2013-02-17 Thread Hengqing Hu
Thanks for the collaboration. You are right, that's what I mean by a deep list. One usage of knowing the information is to tell whether the hash table is empty or not, Since a hash-empty? procedure is not provided. 在 2013-2-18,10:01,Daniel Hartwig 写道: > On 17 February 2013 22:15, Hen

Re: Hash table read syntax in guile 2.0

2013-02-17 Thread Hengqing Hu
able could be more accessible.. 在 2013-2-17,19:59,Daniel Hartwig 写道: > On 17 February 2013 11:55, Hengqing Hu wrote: >> Dear list, >> >> It seems the read syntax of a hash table has been silently changed. >> >> Now (make-hash-table) produces >> # >&

Hash table read syntax in guile 2.0

2013-02-16 Thread Hengqing Hu
procedure could be provided. Best Regards, Hengqing Hu

Re: [ANN] the Guile 100 Programs Project

2013-02-01 Thread Hengqing Hu
A virtualization enabler, for eamplex: amazon ec2 and s3. 在 2013-2-2,11:14,Nala Ginrut 写道: > On Sat, 2013-02-02 at 10:16 +0800, Hengqing Hu wrote: >> Has somebody tried to implement a gnu cloud os in guile? >> > > What is 'cloud os'? > >> Or any ide

Re: [ANN] the Guile 100 Programs Project

2013-02-01 Thread Hengqing Hu
Has somebody tried to implement a gnu cloud os in guile? Or any ideas about doing this? 在 2013-2-2,1:28,Nala Ginrut 写道: > On Fri, 2013-02-01 at 16:40 +, Ian Price wrote: >> Mike Gran writes: >> >>> Hello. I'm pleased to announce the upcoming Guile 100 Programs >>> Project. >>> >>> The G

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: How to identify a potential memory leak in guile programs?

2013-01-22 Thread Hengqing Hu
(loop (- i 1) (cons i interval) On Tue, Jan 22, 2013 at 7:14 PM, Thien-Thi Nguyen wrote: > () Hengqing Hu > () Tue, 22 Jan 2013 16:51:04 +0800 > >Can somebody help to look into the code and tell me what's wrong? > > I don't know if this is the only problem, b

How to identify a potential memory leak in guile programs?

2013-01-22 Thread Hengqing Hu
gards, Hengqing Hu