[pypy-svn] r25453 - pypy/dist/pypy/doc
ale at codespeak.net
ale at codespeak.net
Thu Apr 6 17:33:25 CEST 2006
Author: ale
Date: Thu Apr 6 17:33:23 2006
New Revision: 25453
Modified:
pypy/dist/pypy/doc/constraints-and-logic.txt
Log:
Fix rest issues
Modified: pypy/dist/pypy/doc/constraints-and-logic.txt
==============================================================================
--- pypy/dist/pypy/doc/constraints-and-logic.txt (original)
+++ pypy/dist/pypy/doc/constraints-and-logic.txt Thu Apr 6 17:33:23 2006
@@ -320,7 +320,7 @@
Let us look at a small relational program written respectively in
Prolog, Oz and extended Python.
-Prolog :
+Prolog ::
Soft(beige).
Soft(coral).
@@ -333,7 +333,7 @@
Suit(Shirt, Pants, Socks) :- Contrast(Shirt, Pants),
Contrast(Pants, Socks), Shirt != Socks.
-Oz :
+Oz ::
fun {Soft} choice beige [] coral end end
fun {Hard} choice mauve [] ochre end end
@@ -351,7 +351,7 @@
suit(Shirt Pants Socks)
end
-Python :
+Python ::
def soft():
choice: 'beige' or: 'coral'
More information about the Pypy-commit
mailing list