Skip to content

Commit

Permalink
Learnt how to pluralise code blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
ocharles committed Mar 16, 2017
1 parent f1c0b7b commit 502f747
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/differences.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ Aggregation
In Opaleye, aggregation is performed by using the ``aggregate`` function which
requires an ``Aggregator``. Due to the `particularities of SQL
<https://github.com/tomjaguarpaw/haskell-opaleye/issues/282>`_ ``Aggregators``
are not ``Arrow`` s, nor are they functions. This leaves us with little option to
build ``Aggregator`` s, though with ``ProductProfunctor`` (and some template
are not ``Arrow``\ s, nor are they functions. This leaves us with little option to
build ``Aggregator``\ s, though with ``ProductProfunctor`` (and some template
Haskell), the pain is somewhat eased. From the basic tutorial::

aggregateWidgets :: Query (Widget (Column PGText) (Column PGText) (Column PGInt8)
Expand Down Expand Up @@ -125,10 +125,10 @@ Outer Joins
-----------

Rel8 contains a row transforming type ``MaybeTable`` to capture the result of
outer joins. Opaleye deals with this by the use of ``NullMaker``s. ``MaybeTable``s,
when selected, will return ``Maybe`` of the actual row itself. You can project
columns out of a ``MaybeTable`` with the ``$?`` operator (function application on a
possibly-``null`` row).
outer joins. Opaleye deals with this by the use of ``NullMaker``\ s.
``MaybeTable``\ s, when selected, will return ``Maybe`` of the actual row
itself. You can project columns out of a ``MaybeTable`` with the ``$?`` operator
(function application on a possibly-``null`` row).

``NULL``
--------
Expand Down

0 comments on commit 502f747

Please sign in to comment.