Skip to content

Commit f24588e

Browse files
committed
Minor doc cleanup
1 parent 57c0386 commit f24588e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

DOCS.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ depth: 2
1313

1414
## Overview
1515

16-
This documentation covers all the features of the [Coconut Programming Language](http://evhub.github.io/coconut/), and is intended as a reference/specification, not a tutorialized introduction. For a full introduction and tutorial of Coconut, see [the tutorial](./HELP.md).
16+
This documentation covers all the features of the [Coconut Programming Language](http://evhub.github.io/coconut/), and is intended as a reference/specification, not a tutorialized introduction. For an introduction to and tutorial of Coconut, see [the tutorial](./HELP.md).
1717

1818
Coconut is a variant of [Python](https://www.python.org/) built for **simple, elegant, Pythonic functional programming**. Coconut syntax is a strict superset of the latest Python 3 syntax. Thus, users familiar with Python will already be familiar with most of Coconut.
1919

@@ -407,7 +407,7 @@ Simply installing Coconut should add a `Coconut` kernel to your Jupyter/IPython
407407

408408
The Coconut kernel will always compile using the parameters: `--target sys --line-numbers --keep-lines --no-wrap-types`.
409409

410-
Coconut also provides the following api commands:
410+
Coconut also provides the following commands:
411411

412412
- `coconut --jupyter notebook` will ensure that the Coconut kernel is available and launch a Jupyter/IPython notebook.
413413
- `coconut --jupyter console` will launch a Jupyter/IPython console using the Coconut kernel.
@@ -517,11 +517,11 @@ f x n/a
517517
+, - left
518518
<<, >> left
519519
& left
520-
&: left
520+
&: yes
521521
^ left
522522
| left
523-
:: n/a (lazy)
524-
.. n/a
523+
:: yes (lazy)
524+
.. yes
525525
a `b` c, left (captures lambda)
526526
all custom operators
527527
?? left (short-circuits)
@@ -536,7 +536,7 @@ a `b` c, left (captures lambda)
536536
not unary
537537
and left (short-circuits)
538538
or left (short-circuits)
539-
x if c else y, ternary left (short-circuits)
539+
x if c else y, ternary (short-circuits)
540540
if c then x else y
541541
=> right
542542
====================== ==========================
@@ -3851,7 +3851,7 @@ for x in input_data:
38513851

38523852
Coconut provides a modified version of `itertools.count` that supports `in`, normal slicing, optimized iterator slicing, the standard `count` and `index` sequence methods, `repr`, and `start`/`step` attributes as a built-in under the name `count`. If the _step_ parameter is set to `None`, `count` will behave like `itertools.repeat` instead.
38533853

3854-
Since `count` supports slicing, `count()` can be used as a version of `range` that can in some cases be more readable. In particular, it is easy to accidentally write `range(10, 2)` when you meant `range(0, 10, 2)`, but it is hard to accidentally write `count()[10:2]` when you mean `count()[:10:2]`.
3854+
Since `count` supports slicing, `count()[...]` can be used as a version of `range` that can in some cases be more readable. In particular, it is easy to accidentally write `range(10, 2)` when you meant `range(0, 10, 2)`, but it is hard to accidentally write `count()[10:2]` when you mean `count()[:10:2]`.
38553855

38563856
##### Python Docs
38573857

0 commit comments

Comments
 (0)