Re: [PATCH]: correctly call build-request

2013-09-09 Thread Mark H Weaver
Alexandru Cojocaru writes: > http-post currently sends a GET method instead of POST, I tracked down > the problem > to extend-request. I pushed the first hunk of your patch to stable-2.0. Thanks! Mark

Re: Web HTTP methods: symbols or strings?

2013-09-09 Thread Mark H Weaver
Mark H Weaver writes: > I've been looking at the web code, and while most (all?) of the older > code assumes that HTTP methods will be symbols, the newer web/client.scm > is written to assume that HTTP methods will be strings. It seems > reasonably clear to me that client.scm should be fixed to

Web HTTP methods: symbols or strings?

2013-09-09 Thread Mark H Weaver
Hello all, I've been looking at the web code, and while most (all?) of the older code assumes that HTTP methods will be symbols, the newer web/client.scm is written to assume that HTTP methods will be strings. It seems reasonably clear to me that client.scm should be fixed to produce symbols inst

Re: lua branch rebased

2013-09-09 Thread Nala Ginrut
Congrats! You survived from that manual parser! :-) But I'm concern the parser is hard to extend if we need mordern Lua grammar. 2013-9-10 AM4:20,"Ian Price" : > > > So, it's been 5 months since I originally posted those patches about > Guile Lua. How time flies when you are steadfastly not wantin

Re: and-let* is not composable?

2013-09-09 Thread Ian Price
Stefan Israelsson Tampe writes: > (use-modules (srfi srfi-2)) > (use-modules (srfi srfi-1)) > > (define-curried (string-matches pattern string) >(and-let* ((match-struct (string-match pattern string)) > (count (match:count match-struct))) > (map (lambda(n)(match:substri

Re: and-let* is not composable?

2013-09-09 Thread Stefan Israelsson Tampe
First of all define-macro is asking for trouble. don't use it is the general recomendation for guile. If you look into the kanren soures you will find, (define-syntax lambda@ (syntax-rules () ((_ (formal) body0 body1 ...) (lambda (formal) body0 body1 ...)) ((_ (formal0 formal1 formal2 .

lua branch rebased

2013-09-09 Thread Ian Price
So, it's been 5 months since I originally posted those patches about Guile Lua. How time flies when you are steadfastly not wanting to touch a parser :) Anyway, I have pushed those patches, and rebased lua on the current master. This means all the test cases for lua (such as they are) actually pa