Hi Eric,
Your code is not formatted idiomatically. If you want feedback, use
standard style.
Lacking anything Guile-specific, I think Taylor Campbell's style guide
is as fine as any:
http://mumble.net/~campbell/scheme/style.txt
Cheers,
Andy
--
http://wingolog.org/
() "Eric J. Van der Velden"
() Mon, 6 Sep 2010 21:36:58 +0200
(define neither
(both (compose not))
The first one doesn't compile. The second one does, but this is
not what I meant; It suspects two arguments, the '() '() for
example, instead of one, the funtion null? for example.
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)