Previously the `return z` didn't actually have any effect on the output, since the outer function just return the anon function's result directly. Updated to make the outer function do something to demonstrate the difference. Also renamed functions to make what they're doing easier to follow, and added a couple examples of behavior w/ explanations
- [x] I solemnly swear that this is all original content of which I am the original author
- [x] Pull request title is prepended with `[language/lang-code]`
- [x] Pull request touches only one file (or a set of logically related files with similar changes made)
- [x] Content changes are aimed at *intermediate to experienced programmers* (this is a poor format for explaining fundamental programming concepts)
- [x] If you've changed any part of the YAML Frontmatter, make sure it is formatted according to [CONTRIBUTING.md](https://github.com/adambard/learnxinyminutes-docs/blob/master/CONTRIBUTING.markdown)
- [x] Yes, I have double-checked quotes and field names!
Output:
My dog's name isfido, and his other favorite thing is a: teddy
New output:
My dog's name is fido, and his other favorite thing is a: teddy
* Fix word order in class documentation
* Change access level modifier of age variable
The comment inside eat() mentions that the variable is private.
Furthermore, there would be no error if the variable were used inside
Dog given the current access level.
* Afegit Go en català
* Go in catalan
* added Kotlin
* kotlin in catalan 80 chars
* Added -ca to the kotlin filename
* Translated Groovy to catalan
* Missed -ca
* Copy & paste problems in the header :-P
* Rework some examples.
* Small change to description of iterator commands.
* Adjust whitespace.
* Adjust whitespace again.
* Various changes to wording and grammar
* Rather extensive editing of the entire document.
* trivial change of one variable name
* Removed whitespace in variable declaration with explicit type (Kotlin)
* Removed whitespace in variable declaration with explicit type (Kotlin translations)
* Create fsharp-fr.html.markdown
* Add introduction and basics
* Update fsharp-fr.html.markdown
* Fix old translation of progress a bit
* Progress on types
* Add the end part
* Fix verb "créer"
* Improve stuff
* Remove trailing whitespaces
* Move from C# highlighting to F#
* Improve trad
* Relecture
Je doute encore sur les (?)
* Traduccion EN-ES agregar contibudor
* traducir primer parrafo a ES
* traducir segundo parrafo a ES
* traducir tercer parrafo a ES
* traducir parrafo NOTA a ES
* traducir primer parrafo de sintaxis a ES
* traducir primer parrafo de selector a ES
* [perl/en] Explain single vs double quotes
Explains an example of variable interpolation and escape codes in a double quoted string.
* add section about interpolating arrays and email in double quotes trap