Idris-dev/docs
Rob Stewart 07ee064a9a Expands on documentation of the 'with' rule (#4195)
* Expands on documentation of the 'with' rule

This additional text clarifies the syntax of the 'with' rule:

- it gives the name "view refined argument pattern" to argument
  patterns to the left of the | vertical bar.

- it explains that when the original function argument patterns are
  unchanged, then the refined pattern may be omitted, using the
  'filter' function as an example.

- it decomposes in a bit more detail the body of the 'natToBin'
  function, explaining in bullet point form where the refined patterns
  have come from, i.e. Even and Odd constructor definitions.
2017-11-13 21:37:29 +00:00
..
effects Fix typo in Dep.Eff documentation. 2017-09-19 16:00:00 +02:00
faq Fix reST errors. 2017-11-09 13:14:47 +00:00
guides Updated remaining use of deprecated return in Docs to pure. 2016-09-30 09:37:37 +01:00
image Add network example to ST tutorial 2017-03-24 18:54:50 +00:00
listing fix version numbers in listings. 2017-11-09 13:14:56 +00:00
proofs Fix reST errors. 2017-11-09 13:14:47 +00:00
reference partial-evaluation.rst: peval is off since 1.0 2017-08-04 11:45:42 +03:00
st Fix reST errors. 2017-11-09 13:14:47 +00:00
tutorial Expands on documentation of the 'with' rule (#4195) 2017-11-13 21:37:29 +00:00
.gitignore Sphinx Based Documentation for Idris. 2015-03-17 16:19:11 +00:00
conf.py Fix DOC version number and update shipped PDF. 2017-10-27 13:57:43 +01:00
index.rst Start ST tutorial 2017-03-24 18:54:50 +00:00
LICENSE Updated license to be CC0 and restored missing section. 2015-03-19 19:13:16 +00:00
make.bat Sphinx Based Documentation for Idris. 2015-03-17 16:19:11 +00:00
Makefile Sphinx Based Documentation for Idris. 2015-03-17 16:19:11 +00:00
README.md Can build docs locally using ReadTheDocs Theme. 2015-03-31 10:22:03 +01:00

Documentation for the Idris Language.

This manual has been prepared using ReStructured Text and the Sphinx Documentation Generator for future inclusion on Read The Docs.

Dependencies

To build the manual the following dependencies must be met. We assume that you have standard build automation tools already install i.e. make.

Sphinx-Doc

Python should be installed by default on most systems. Sphinx can be installed either through your hosts package manager or using pip/easy_install.

Note ReadTheDocs works with Sphinx v1.2.2. If you install a more recent version of sphinx then 'incorrectly' marked up documentation may get passed the build system of readthedocs and be ignored. In the past we had several code-blocks disappear because of that.

The ReadTheDocs theme can be installed using pip as follows:

pip install sphinx_rtd_theme

LaTeX

LaTeX can be install either using your systems package manager or direct from TeXLive.

Build Instructions

make html
make latexpdf

Contributing

The documentation for Idris has been published under the Creative Commons CC0 License. As such to the extent possible under law, /The Idris Community/ has waived all copyright and related or neighboring rights to Documentation for Idris.

More information concerning the CC0 can be found online at:

http://creativecommons.org/publicdomain/zero/1.0/

When contributing material to the manual please bear in mind that the work will be licensed as above.