OSDN Git Service

Minor cleanup.
[joypy/Thun.git] / docs / Types.md
index 79ac490..66ad9a1 100644 (file)
@@ -1,4 +1,3 @@
-
 # The Blissful Elegance of Typing Joy
 
 This notebook presents a simple type inferencer for Joy code.  It can infer the stack effect of most Joy expressions.  It's built largely by means of existing ideas and research.  (A great overview of the existing knowledge is a talk ["Type Inference in Stack-Based Programming Languages"](http://prl.ccs.neu.edu/blog/2017/03/10/type-inference-in-stack-based-programming-languages/) given by Rob Kleffner on or about 2017-03-10 as part of a course on the history of programming languages.)
@@ -1732,6 +1731,31 @@ print compile_('Q', Q)
 
 
 ```python
+
+```
+
+
+```python
+
+```
+
+
+```python
+
+```
+
+
+```python
+
+```
+
+
+```python
+
+```
+
+
+```python
 unstack = (S[1], S[0]), S[1]
 enstacken = S[0], (S[0], S[1])
 ```
@@ -1780,6 +1804,11 @@ C(cons, unstack)
 
 
 
+
+```python
+
+```
+
 ## Part VI: Multiple Stack Effects
 ...
 
@@ -2125,6 +2154,11 @@ def compose(f, g):
 
 
 ```python
+
+```
+
+
+```python
 def meta_compose(F, G):
     for f, g in product(F, G):
         try: