gt; Am So., 9. Feb. 2020 um 15:02 Uhr schrieb Freeman Gilmore
> >> :
> >> >
> >> >
> >> >
> >> > This is taken from the "Scheme Book".
> >> >
> >> > Question why double parenthesis for let ((rand (random 100)))
Hi Freeman,
> This is the form i am asking about:
> (let
> (
> (rand (random 100))
> )
> (
>...
> )
> )
In that form, the … is where the procedure(s) for the let function would
appear, though I’d probably indent it lik
On Sun, Feb 9, 2020 at 12:25 PM Kieren MacMillan <
kieren_macmil...@sympatico.ca> wrote:
> Hi Freeman,
>
> > Ok you are getting closer to what i am asking.
>
> I’m glad!
>
> > Rerote(let ((rand (random 100))) ...) .I need to understand it
> so that i know which to use and when?
> > ((rand
Freeman Gilmore writes:
> On Sun, Feb 9, 2020 at 9:33 AM Thomas Morley
> wrote:
>
>> Am So., 9. Feb. 2020 um 15:02 Uhr schrieb Freeman Gilmore
>> :
>> >
>> >
>> >
>> > This is taken from the "Scheme Book".
>
Hi Freeman,
> Ok you are getting closer to what i am asking.
I’m glad!
> Rerote(let ((rand (random 100))) ...) .I need to understand it so
> that i know which to use and when?
> ((rand (random 100)) or (rand (random 100)
You would never use either, because the parentheses aren’t
matc
On Sun, Feb 9, 2020 at 11:45 AM Kieren MacMillan <
kieren_macmil...@sympatico.ca> wrote:
> Hi Freeman,
>
> > I understand the above and below but not this let ((rand (random
> 100)))
> > Put in your form: (let ((rand (random 100))) ...)
>
> Here are the thoughts of a Scheme newbie — hopefully t
Hi Freeman,
> I understand the above and below but not this let ((rand (random 100)))
> Put in your form: (let ((rand (random 100))) ...)
Here are the thoughts of a Scheme newbie — hopefully they are correct! =)
Working from the inside out:
The first set of parentheses is needed to encap
On Sun, Feb 9, 2020 at 9:33 AM Thomas Morley
wrote:
> Am So., 9. Feb. 2020 um 15:02 Uhr schrieb Freeman Gilmore
> :
> >
> >
> >
> > This is taken from the "Scheme Book".
> >
> > Question why double parenthesis for let ((rand (random 100))
Am So., 9. Feb. 2020 um 15:02 Uhr schrieb Freeman Gilmore
:
>
>
>
> This is taken from the "Scheme Book".
>
> Question why double parenthesis for let ((rand (random 100))) ?
>
> Thank you, ƒg
Well, every expression needs to be wrapped into parenthesis.
One
Am 09.02.20 um 15:02 schrieb Freeman Gilmore:
This is taken from the "Scheme Book".
Question why double parenthesis for let ((rand (random 100))) ?
A let expression can have several definitions, f. e.
(let
(
(rand (random 100))
(notrand (* 6 7))
)
[…]
)
This is taken from the "Scheme Book".
Question why double parenthesis for let ((rand (random 100))) ?
Thank you, ƒg
11 matches
Mail list logo