hy/docs
Gergely Nagy cbc2eed900
defclass reimagined
defclass now has a new syntax:

 (defclass Name [BaseList]
   [property value
    property value] ;; optional

   (defn method [self]
     self.property))

Anything after the optional property list (which will be translated to a
setv within the class context) will be added to the class body. This
allows one to have side effects and complex expressions within the class
definition.

As a side effect, defining methods is much more friendly now!

Closes #850.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
2015-08-04 16:43:07 +02:00
..
_static Reorganize documentation. 2014-01-25 21:01:16 +02:00
contrib Rework `flow' module doc 2015-07-24 09:52:33 +02:00
language defclass reimagined 2015-08-04 16:43:07 +02:00
.gitignore Adding in a docs directory. 2013-03-12 22:53:45 -04:00
conf.py Changed conf.py to use RTD theme if available 2014-04-24 00:17:58 +03:00
coreteam.rst Add @zackmdavis to core 2015-06-29 22:14:10 -04:00
hacking.rst Various changes to documentation pages 2014-12-05 23:15:48 -08:00
index.rst Transplant style guide from hylang/hy-style-guide 2015-01-02 19:56:07 -08:00
make.bat This change updates the required Pygments version to 1.6, which 2014-03-14 09:01:47 -04:00
Makefile Adding in a docs directory. 2013-03-12 22:53:45 -04:00
quickstart.rst Adhere to CPython's documentation guidelines 2014-12-07 02:09:43 -08:00
style-guide.rst Update style-guide.rst 2015-03-13 09:23:38 -04:00
tutorial.rst defclass reimagined 2015-08-04 16:43:07 +02:00