typo in manual?

Started by csfreebird, November 19, 2013, 07:24:30 AM

Previous topic - Next topic

csfreebird

QuoteA 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

#1
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/learningenglish/grammar/learnit/learnitv257.shtml">//http://www.bbc.co.uk/worldservice/learningenglish/grammar/learnit/learnitv257.shtml


Quote   

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

#2
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

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



ps: may have to click reload

rickyboy

#4
Quote from: "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/learningenglish/grammar/learnit/learnitv257.shtml">//http://www.bbc.co.uk/worldservice/learningenglish/grammar/learnit/learnitv257.shtml


Quote   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.


Quotewhen 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

#5
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