Update syntax.rst
commitee81e707d2bd67a07aad5502d9e7fa44681d7de7
authorPhil Freeman <paf31@cantab.net>
dateWed 23 Apr 2014, 22:27 (13 years ago)
parent331a5dc
docs/source/syntax.rst+1−1
@@ -169,7 +169,7 @@ When using ``do`` notation, the corresponding type constructor must be an instan
169169
170170Statements can have the following form:
171171
172−- ``a <- x`` which desugars to ``x >>= \a -> ...` `
172+- ``a <- x`` which desugars to ``x >>= \a -> ...``
173173- ``x`` which desugars to ``x >>= \_ -> ...`` or just ``x`` if this is the last statement.
174174- A let binding ``let a = x`` where ``a`` can be either a name or a binder. Note the lack of the ``in`` keyword.
175175