Skip to content

Commit

Permalink
Typos in Quotation.Rmd (hadley#1052)
Browse files Browse the repository at this point in the history
I assign the copyright of this contribution to Hadley Wickham
  • Loading branch information
osorensen authored and hadley committed May 15, 2018
1 parent fef15af commit 75de10e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Quotation.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ One application is to create functions that work like `graphics::curve()`. `curv
curve(sin(exp(4 * x)), n = 1000)
```

Here `x` is a pronoun. As with `.` in pipelines and `.x` and `.y` in purrr functioanls, `x` doesn't represent a single concrete value, but is instead a placeholder that varies over the range of the plot. Functions, like `curve()`, that use a expression containing a pronoun are known as __anaphoric__ functions[^anaphora].
Here `x` is a pronoun. As with `.` in pipelines and `.x` and `.y` in purrr functionals, `x` doesn't represent a single concrete value, but is instead a placeholder that varies over the range of the plot. Functions, like `curve()`, that use an expression containing a pronoun are known as __anaphoric__ functions[^anaphora].

[^anaphora]: Anaphoric comes from the linguistics term "anaphora", an expression that is context dependent. Anaphoric functions are found in [Arc](http://www.arcfn.com/doc/anaphoric.html) (a LISP like language), [Perl](http://www.perlmonks.org/index.pl?node_id=666047), and [Clojure](http://amalloy.hubpages.com/hub/Unhygenic-anaphoric-Clojure-macros-for-fun-and-profit).

Expand Down

0 comments on commit 75de10e

Please sign in to comment.