newLISP Fan Club

Forum => newLISP in the real world => Topic started by: csfreebird on November 19, 2013, 07:24:30 AM

Title: typo in manual?
Post by: csfreebird on November 19, 2013, 07:24:30 AM
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 ...' ?
Title: Re: typo in manual?
Post by: xytroxon on November 19, 2013, 08:42:46 AM
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


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
Title: Re: typo in manual?
Post by: xytroxon on November 19, 2013, 08:50:12 AM
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
Title: Re: typo in manual?
Post by: Lutz on November 19, 2013, 09:01:20 AM
Thanks for all the corrections, online here: http://www.newlisp.org/downloads/newlisp_manual.html



ps: may have to click reload
Title: Re: typo in manual?
Post by: rickyboy on November 19, 2013, 11:44:50 AM
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


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.
Title: Re: typo in manual?
Post by: xytroxon on November 19, 2013, 04:23:20 PM
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