Skip to content

Commit f78cb48

Browse files
committed
Documentation improvements
1 parent d7f492c commit f78cb48

7 files changed

+14
-14
lines changed

Project.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "Bijections"
22
uuid = "e2ed5e7c-b2de-5872-ae92-c73ca462fb04"
3-
version = "0.1.8"
3+
version = "0.1.9"
44

55
[compat]
66
julia = "1"

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ A `Bijection` data type for Julia.
44

55

66
A `Dict` in Julia is not one-to-one. Two different keys might have the
7-
same value. This data structure behaves just like a `Dict` except it
8-
blocks assigning the same value to two different keys.
7+
same value. A `Bijection` data structure behaves just like a `Dict` except it
8+
prevents assigning the same value to two different keys.
99

1010
## Getting Started
1111

@@ -28,7 +28,7 @@ and values are of `Any` type.
2828

2929
* `b = Bijection(pair_list::Vector{Pair{S, T}})`: Create a new `Bijection` using a list of pairs.
3030

31-
## Adding and deleting pairs
31+
## Adding and Deleting Pairs
3232

3333
Once a `Bijection`, `b`, is created, we add a new key-value pair in
3434
the same manner as with a `Dict`:
@@ -103,7 +103,7 @@ julia> b("hello")
103103
ERROR: KeyError: hello not found
104104
```
105105

106-
## Creating an inverse `Bijection`
106+
## Creating an Inverse `Bijection`
107107

108108
There are two functions that take a `Bijection` and return a new
109109
`Bijection` that is the functional inverse of the original:

docs/build/.documenter-siteinfo.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"documenter":{"julia_version":"1.10.4","generation_timestamp":"2024-08-25T09:25:10","documenter_version":"1.5.0"}}
1+
{"documenter":{"julia_version":"1.10.5","generation_timestamp":"2024-08-30T07:47:13","documenter_version":"1.5.0"}}

docs/build/index.html

+3-3
Large diffs are not rendered by default.

docs/build/objects.inv

3 Bytes
Binary file not shown.

docs/build/search_index.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/src/index.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ A `Bijection` data type for Julia.
44

55

66
A `Dict` in Julia is not one-to-one. Two different keys might have the
7-
same value. This data structure behaves just like a `Dict` except it
8-
blocks assigning the same value to two different keys.
7+
same value. A `Bijection` data structure behaves just like a `Dict` except it
8+
prevents assigning the same value to two different keys.
99

1010
## Getting Started
1111

@@ -28,7 +28,7 @@ and values are of `Any` type.
2828

2929
* `b = Bijection(pair_list::Vector{Pair{S, T}})`: Create a new `Bijection` using a list of pairs.
3030

31-
## Adding and deleting pairs
31+
## Adding and Deleting Pairs
3232

3333
Once a `Bijection`, `b`, is created, we add a new key-value pair in
3434
the same manner as with a `Dict`:
@@ -103,7 +103,7 @@ julia> b("hello")
103103
ERROR: KeyError: hello not found
104104
```
105105

106-
## Creating an inverse `Bijection`
106+
## Creating an Inverse `Bijection`
107107

108108
There are two functions that take a `Bijection` and return a new
109109
`Bijection` that is the functional inverse of the original:

0 commit comments

Comments
 (0)