Re: Readline support in Cygwin

2013-01-11 Thread Akop Pogosian
On Wed, Jan 9, 2013 at 3:57 PM, Ludovic Courtès wrote: > Hi! > > Akop Pogosian skribis: > >> # ERROR: In procedure load-extension: >> # ERROR: In procedure dynamic-link: file: "libguilereadline-v-18", >> message: "The specified module could not be found." > > [...] > >> # $ ls software/packages/g

Re: call-with-values and primitives

2013-01-11 Thread Andy Wingo
On Fri 11 Jan 2013 15:23, brom...@lavabit.com writes: > (call-with-values * -) > ⇒ -1 So it's like: (call-with-values producer consumer) The producer is called with no arguments, then the results of that call are passed to the consumer. So first `*' is called with no arguments, like this:

Re: call-with-values and primitives

2013-01-11 Thread Ian Price
brom...@lavabit.com writes: > Hello. > > Why does it return -1? Could anyone explain? > (Comments are mine.) The general principle is to try and give sensible results when +,*,etc are called with a number of arguments other than 2. By thinking them through at this level you can, in theory, write m

Re: http-post

2013-01-11 Thread Andy Wingo
On Tue 17 Apr 2012 05:34, gregory benison writes: > "More helper procedures for the other common HTTP verbs would be a > good addition to this module. Send your code to ." > > So, I say to guile-user, "here is my code". Thanks! I used it as a base for a patch I just pushed. Guile now has clie

call-with-values and primitives

2013-01-11 Thread bromley
Hello. Why does it return -1? Could anyone explain? (Comments are mine.) (call-with-values (lambda () (values 4 5)) (lambda (a b) b)) ; a is 4 and b is 5; return 5 ⇒ 5 (call-with-values * -) ⇒ -1 More: (call-with-values + +) 0 (call-with-values + -) 0 (call-with-values - -)

Re: Guile 2 birthday potluck

2013-01-11 Thread Ludovic Courtès
Hi! Limbo Peng skribis: > BTW: did you guys have a hack-potluck last year? Yes, just not under this name. ;-) Check http://www.gnu.org/software/guile/news.html under 2012-02-16. Happy hacking! Ludo’.