Correcting typos.
This commit is contained in:
parent
da59b20471
commit
e50ca4fc07
1
AUTHORS
1
AUTHORS
@ -35,3 +35,4 @@
|
|||||||
* Thom Neale <twneale@gmail.com>
|
* Thom Neale <twneale@gmail.com>
|
||||||
* Tuukka Turto <tuukka.turto@oktaeder.net>
|
* Tuukka Turto <tuukka.turto@oktaeder.net>
|
||||||
* Vasudev Kamath <kamathvasudev@gmail.com>
|
* Vasudev Kamath <kamathvasudev@gmail.com>
|
||||||
|
* Yuval Langer <yuval.langer@gmail.com>
|
||||||
|
@ -97,7 +97,7 @@ core team. Additional review is clearly welcome, but we need a minimum of
|
|||||||
2 signoffs for any change.
|
2 signoffs for any change.
|
||||||
|
|
||||||
If a core member is sending in a PR, please find 2 core members that don't
|
If a core member is sending in a PR, please find 2 core members that don't
|
||||||
include them PR submitter. The idea here is that one can work with the PR
|
include the PR submitter. The idea here is that one can work with the PR
|
||||||
author, and a second acks the entire change set.
|
author, and a second acks the entire change set.
|
||||||
|
|
||||||
If the change is adding documentation, feel free to just merge after one
|
If the change is adding documentation, feel free to just merge after one
|
||||||
|
@ -430,7 +430,7 @@ defmacro
|
|||||||
`defmacro` is used to define macros. The general format is
|
`defmacro` is used to define macros. The general format is
|
||||||
`(defmacro [parameters] expr)`.
|
`(defmacro [parameters] expr)`.
|
||||||
|
|
||||||
Following example defines a macro that can be used to swap order of elements in
|
The following example defines a macro that can be used to swap order of elements in
|
||||||
code, allowing the user to write code in infix notation, where operator is in
|
code, allowing the user to write code in infix notation, where operator is in
|
||||||
between the operands.
|
between the operands.
|
||||||
|
|
||||||
@ -1167,7 +1167,7 @@ yield
|
|||||||
The generator is iterable and therefore can be used in loops, list
|
The generator is iterable and therefore can be used in loops, list
|
||||||
comprehensions and other similar constructs.
|
comprehensions and other similar constructs.
|
||||||
|
|
||||||
Especially the second example shows how generators can be used to generate
|
The function random-numbers shows how generators can be used to generate
|
||||||
infinite series without consuming infinite amount of memory.
|
infinite series without consuming infinite amount of memory.
|
||||||
|
|
||||||
.. code-block:: clj
|
.. code-block:: clj
|
||||||
|
@ -406,7 +406,7 @@ The same thing in Hy::
|
|||||||
...
|
...
|
||||||
[3, 2, 1, 4]
|
[3, 2, 1, 4]
|
||||||
|
|
||||||
See how we use kwapply to handle the fancy pssing? :)
|
See how we use kwapply to handle the fancy passing? :)
|
||||||
|
|
||||||
There's also a dictionary-style keyword arguments construction that
|
There's also a dictionary-style keyword arguments construction that
|
||||||
looks like:
|
looks like:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user