typo in manual?

Q&A's, tips, howto's
Locked
csfreebird
Posts: 107
Joined: Tue Jan 15, 2013 11:54 am
Location: China, Beijing
Contact:

typo in manual?

Post by csfreebird »

A symbol is created when newLISP first sees it, when calling the load, sym, or eval-string functions. When newLISP reads a source file, symbols are created before evaluation occurs.
In manual contexts chapter, I see above words. Is it a typo?
when calling the load, sym ... should be 'while calling the ...' ?

xytroxon
Posts: 296
Joined: Tue Nov 06, 2007 3:59 pm
Contact:

Re: typo in manual?

Post by xytroxon »

BBC Learning English:
What are the differences in use between when and while and when can we use meanwhile?
http://www.bbc.co.uk/worldservice/learn ... v257.shtml

when not while

We use when, not while, to talk about something that occurs at the same time as a longer action or event that is described in the main clause:

* I was asleep in my chair when Dora rang to say she wasn't coming home.
* We were playing monopoly when the lights went off.

We also use when, not while, to talk about one event that happens immediately after another and to talk about periods of time in the past.

* When the lights went out, everybody groaned: "Oh no, not another power cut!"
* When I was a little boy, power cuts were very frequent, but that was just after the war.

When can also be used instead of whenever, meaning every time that:

* I always visit my mother-in-law when I'm in Manchester.
* I always visit my mother-in-law whenever I'm in Manchester.
-- xytroxon
"Many computers can print only capital letters, so we shall not use lowercase letters."
-- Let's Talk Lisp (c) 1976

xytroxon
Posts: 296
Joined: Tue Nov 06, 2007 3:59 pm
Contact:

Re: typo in manual?

Post by xytroxon »

And 'while" we are talking about typos ;o)
newlisp manual: append

append is also suitable for processing binary strings containing zeroes. The string function would cut of strings at zero bytes.

append is also suitable for processing binary strings containing zeroes. The string function would cut off strings at zero bytes.

-- xytroxon
"Many computers can print only capital letters, so we shall not use lowercase letters."
-- Let's Talk Lisp (c) 1976

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Re: typo in manual?

Post by Lutz »

Thanks for all the corrections, online here: http://www.newlisp.org/downloads/newlisp_manual.html

ps: may have to click reload

rickyboy
Posts: 607
Joined: Fri Apr 08, 2005 7:13 pm
Location: Front Royal, Virginia

Re: typo in manual?

Post by rickyboy »

xytroxon wrote:BBC Learning English:
What are the differences in use between when and while and when can we use meanwhile?
http://www.bbc.co.uk/worldservice/learn ... v257.shtml
when not while ...
-- xytroxon
Actually, you quoted the wrong section from this article. The relevant section is the "when or while" section, not the "when not while" section.
when or while

We use both when and while as subordinating conjunctions to introduce adverbial clauses of time. They mean during the time that and indicate that something is or was happening when something else occurred:

The prisoners escaped when / while the prison warders were eating their lunch.
When / While the prison warders were eating their lunch, the prisoners escaped.
Hence, in the case reference by csfreebird, either "when" or "while" can be used.
(λx. x x) (λx. x x)

xytroxon
Posts: 296
Joined: Tue Nov 06, 2007 3:59 pm
Contact:

Re: typo in manual?

Post by xytroxon »

There is a difference:

"when" - as soon as

"while" - a period of indeterminate length

With newLISP you would use "when".

With Python, Ruby, or Clojure you would use "while" or "sometime in the not too distant future"...

-- xytroxon
"Many computers can print only capital letters, so we shall not use lowercase letters."
-- Let's Talk Lisp (c) 1976

Locked