Rebuild html.

This commit is contained in:
Simon Forman 2018-06-08 13:17:36 -07:00
parent b98e9f2107
commit 0264efdda6
9 changed files with 24 additions and 1903 deletions

View File

@ -11775,7 +11775,8 @@ div#notebook {
</div>
<div class="inner_cell">
<div class="text_cell_render border-box-sizing rendered_html">
<h1 id="Replacing-Functions-in-the-Dictionary">Replacing Functions in the Dictionary<a class="anchor-link" href="#Replacing-Functions-in-the-Dictionary">&#182;</a></h1>
<h1 id="Replacing-Functions-in-the-Dictionary">Replacing Functions in the Dictionary<a class="anchor-link" href="#Replacing-Functions-in-the-Dictionary">&#182;</a></h1><p>For now, there is no way to define new functions from within the Joy language. All functions (and the interpreter) all accept and return a dictionary parameter (in addition to the stack and expression) so that we can implement e.g. a function that adds new functions to the dictionary. However, there's no function that does that. Adding a new function to the dictionary is a meta-interpreter action, you have to do it in Python, not Joy.</p>
</div>
</div>
</div>

View File

@ -4,7 +4,8 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# Replacing Functions in the Dictionary"
"# Replacing Functions in the Dictionary\n",
"For now, there is no way to define new functions from within the Joy language. All functions (and the interpreter) all accept and return a dictionary parameter (in addition to the stack and expression) so that we can implement e.g. a function that adds new functions to the dictionary. However, there's no function that does that. Adding a new function to the dictionary is a meta-interpreter action, you have to do it in Python, not Joy."
]
},
{

View File

@ -1,5 +1,6 @@
# Replacing Functions in the Dictionary
For now, there is no way to define new functions from within the Joy language. All functions (and the interpreter) all accept and return a dictionary parameter (in addition to the stack and expression) so that we can implement e.g. a function that adds new functions to the dictionary. However, there's no function that does that. Adding a new function to the dictionary is a meta-interpreter action, you have to do it in Python, not Joy.
```python

View File

@ -2,6 +2,14 @@
Replacing Functions in the Dictionary
=====================================
For now, there is no way to define new functions from within the Joy
language. All functions (and the interpreter) all accept and return a
dictionary parameter (in addition to the stack and expression) so that
we can implement e.g. a function that adds new functions to the
dictionary. However, there's no function that does that. Adding a new
function to the dictionary is a meta-interpreter action, you have to do
it in Python, not Joy.
.. code:: ipython2
from notebook_preamble import D, J, V

View File

@ -17,7 +17,7 @@
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
<link rel="next" title="Categorical Programming" href="Categorical.html" />
<link rel="prev" title="Quadratic formula" href="Quadratic.html" />
<link rel="prev" title="Traversing Datastructures with Zippers" href="Zipper.html" />
<link rel="stylesheet" href="../_static/custom.css" type="text/css" />
@ -67,7 +67,7 @@
<ul>
<li><a href="../index.html">Documentation overview</a><ul>
<li><a href="index.html">Essays about Programming in Joy</a><ul>
<li>Previous: <a href="Quadratic.html" title="previous chapter">Quadratic formula</a></li>
<li>Previous: <a href="Zipper.html" title="previous chapter">Traversing Datastructures with Zippers</a></li>
<li>Next: <a href="Categorical.html" title="next chapter">Categorical Programming</a></li>
</ul></li>
</ul></li>

File diff suppressed because one or more lines are too long

View File

@ -2,6 +2,14 @@
Replacing Functions in the Dictionary
=====================================
For now, there is no way to define new functions from within the Joy
language. All functions (and the interpreter) all accept and return a
dictionary parameter (in addition to the stack and expression) so that
we can implement e.g. a function that adds new functions to the
dictionary. However, there's no function that does that. Adding a new
function to the dictionary is a meta-interpreter action, you have to do
it in Python, not Joy.
.. code:: ipython2
from notebook_preamble import D, J, V

File diff suppressed because it is too large Load Diff