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_ `defin

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: (let () (de