currying

2010-09-06 Thread Eric J. Van der Velden
Hello, 1. I have curried (compose) so that I can define (not2) below, (define compose(lambda(f) (lambda(g) (lambda(x) (f(g x)) (define not2 (compose not) ) ((not2 null?)'()) This is OK. 2. I do this also, (define both(lambda(f)

Re: Guile base64

2010-09-06 Thread Andy Wingo
Hi, On Sun 05 Sep 2010 23:58, Thien-Thi Nguyen writes: > () Romel Sandoval > () Fri, 03 Sep 2010 15:15:58 -0500 > >Do you think any of mentioned implementations should be >included with Guile 2.0 or it's better to keep it apart? > > Probably next week (2010-09-13 onward) i can find some

Re: make-module question.

2010-09-06 Thread Andy Wingo
Hello, On Sat 04 Sep 2010 23:10, Ian Hulin writes: > If #:key is a superset of #:optional #:key is not a superset of optional. Keyword parameters are bound by name; optional parameters are bound by position. Keyword parameters are not bound by position. ((lambda* (#:optional foo) foo) 10) =>

Re: Give up Guile

2010-09-06 Thread Joel James Adamson
Marek Kubica writes: > On Thu, 02 Sep 2010 14:14:24 -0400 > Joel James Adamson wrote: > >> > After several day's investigating Guile, I decide to give up and >> > return to PLT-scheme/MIT-scheme. The experience is so frustrating. >> >> And why are you telling us??? > > Obviously to make it bett

scm_with_continuation_barrier returning #f on throws ?

2010-09-06 Thread Cedric Cellier
Hello ! With guile-1.8.7, scm_with_continuation_barrier does not seam to return SCM_BOOL_F on error. I did this : static void *load_file(void *filename) { scm_c_primitive_load((char const *)filename); scm_force_output(scm_current_output_port()); return NULL; } ... SCM res = scm_with

Re: Guile base64

2010-09-06 Thread Thien-Thi Nguyen
() l...@gnu.org (Ludovic Courtès) () Mon, 06 Sep 2010 00:47:46 +0200 > Could someone suggest a replacement? Maybe (rnrs bytevectors) and (rnrs io ports)? Thanks for the tip; i'll look into those modules.