Skip to content

Commit 51d7229

Browse files
committed
Doc tweaks
1 parent 290afdc commit 51d7229

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ associative container types that help you organize and query data in memory.
2020
Intro
2121
-----
2222

23-
There is a data structure I that has served me very well for many years in the
24-
Insomniac Core tools group. I don’t hear other programmers refer to it, so I
23+
There is a data structure I use that has served me very well for many years in
24+
the Insomniac Core tools group. I don’t hear other programmers refer to it, so I
2525
want to introduce it to you. I call it a binary relation. It’s a bidirectional
2626
associative container.
2727

@@ -33,7 +33,7 @@ A quick refresher
3333
-----------------
3434

3535
Binary relations are the association between elements of two sets. It can be
36-
projected as a set consisting of related pairs (x,y) where x is the input or the
36+
seen as a set consisting of related pairs (x,y) where x is the input or the
3737
domain and where y is the output or the range. The notation x R y means that x
3838
is related to y by R, where R can be the relation that links x and y.
3939

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ <h1><a class="anchor" id="autotoc_md1"></a>
111111
<p>The term “binary relation” and the concept are borrowed from mathematics, specifically set theory. But this is not a library for mathematicians. It is for programmers needing to organize their data.</p>
112112
<h1><a class="anchor" id="autotoc_md2"></a>
113113
A quick refresher</h1>
114-
<p>Binary relations are the association between elements of two sets. It can be projected as a set consisting of related pairs (x,y) where x is the input or the domain and where y is the output or the range. The notation x R y means that x is related to y by R, where R can be the relation that links x and y.</p>
114+
<p>Binary relations are the association between elements of two sets. It can be seen as a set consisting of related pairs (x,y) where x is the input or the domain and where y is the output or the range. The notation x R y means that x is related to y by R, where R can be the relation that links x and y.</p>
115115
<p><img src="binary-relations.png" alt="" class="inline"/></p>
116116
<p>In this library x and y are called left and right, indicating their position in the diagram.</p>
117117
<p>There are four kinds of binary relations. They are: one-to-one, one-to-many, many-to-one, and many-to-many. But because one-to-many and many-to-one are interchangeable if you swap the left and the right side, we ignore many-to-one. You won’t need it, as will become clear later.</p>

0 commit comments

Comments
 (0)