definition in expression context, where definitions are not allowed

2015-10-11 Thread Arne Babenhauserheide
Hi, I’m repeatedly stumbling over the restrictions where to use define. Here’s a minimal example: (define (hello who) (display "Hello ") (define (world who) (display who)) (world who) (display "!") (newline)) This throws a Syntax error: …definition in

Re: definition in expression context, where definitions are not allowed

2015-10-11 Thread Taylan Ulrich Bayırlı/Kammer
Arne Babenhauserheide writes: > (define (hello who) > (display "Hello ") > (define (world who) > (display who)) > (world who) > (display "!") > (newline)) Let's look at a different example first, which works with the current semantics:

Fwd: Re: definition in expression context, where definitions are not allowed

2015-10-11 Thread Arne Babenhauserheide
Hi David, Thank you for answering! May I send my reply to guile-devel? Am Sonntag, 11. Oktober 2015, 09:58:59 schrieb David Kastrup: > > Or am I missing something else which is enabled by this limitation? > > A function defined with `define' may call a function defined in a > _following_

Re: New logo and website design proposal

2015-10-11 Thread Ludovic Courtès
Luis Felipe López Acevedo skribis: > On 2015-10-10 12:24, Thompson, David wrote: >> On Fri, Oct 9, 2015 at 6:24 PM, Luis Felipe López Acevedo >> wrote: [...] >>> I just finished an implementation of the new website. You can grab >>>

Re: New logo and website design proposal

2015-10-11 Thread Luis Felipe López Acevedo
On 2015-10-11 15:11, l...@gnu.org wrote: Luis Felipe López Acevedo skribis: On 2015-10-10 12:24, Thompson, David wrote: On Fri, Oct 9, 2015 at 6:24 PM, Luis Felipe López Acevedo wrote: [...] I just finished an implementation of