Skip to content

Commit 2e2c2dc

Browse files
authored
Add link to main website (#13)
1 parent 216993e commit 2e2c2dc

File tree

3 files changed

+19
-8
lines changed

3 files changed

+19
-8
lines changed

content/SUMMARY.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,35 +20,43 @@
2020

2121
# Design Patterns
2222

23+
- [Component Presets]()
2324
- [Associated Types]()
2425
- [Parameterized Associated Types]()
2526
- [Impl-side Generic Types]()
2627
- [Associated Type Specialization]()
2728
- [`HasType`]()
29+
- [Trait-Generic Providers]()
30+
- [`WithProvider`]()
31+
- [`UseContext`]()
32+
- [`UseType`]()
33+
- [`UseDelegate`]()
2834
- [Error Handling]()
2935
- [`HasErrorType`]()
3036
- [From Errors]()
3137
- [`CanRaiseError`]()
38+
- [Error Wrapping]()
3239
- [Provider Composition]()
3340
- [Provider Middleware]()
34-
- [Generalized Providers]()
35-
- [`WithProvider`]()
36-
- [`UseContext`]()
37-
- [`UseType`]()
38-
- [`UseDelegate`]()
41+
- [Detached Provider]()
42+
- [Inner]()
3943
- [Field Accessors]()
4044
- [`HasField`]()
4145
- [`HasFieldMut`]()
4246
- [Field Macros]()
43-
- [Context-Generic Dispatch]()
44-
- [App-Specific Associated Types]()
47+
- [Builder]()
48+
- [Dispatcher]()
49+
- [Generic Data Types]()
4550
- [Async Generic]()
4651
- [Fully Abstract Programs]()
4752

4853
# Domain-Specific Patterns
4954

55+
- [Runtime]()
5056
- [Logging and Telemetry]()
5157
- [Encoding]()
58+
- [Command Line Parsing]()
59+
- [Authentication]()
5260

5361
# Related Concepts
5462

content/blanket-implementations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,6 @@ Although a context many define its own context-specific provider to override the
222222
provider, it would face other limitations such as not being able to implement other traits
223223
that may cause a conflict.
224224

225-
In practice, we consider that blanket implementations allow for _a singule context-generic provider_
225+
In practice, we consider that blanket implementations allow for _a singular context-generic provider_
226226
to be defined. In future chapters, we will look at how to relax the singular constraint,
227227
to make it possible to allow _multiple_ context-generic or context-specific providers to co-exist.

content/introduction.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ to be implemented and composed in a modular, generic, and type-safe way.
66

77
## What is Context-Generic Programming
88

9+
A high level overview of CGP is available on the [project website](https://www.contextgeneric.dev/).
10+
This section contains a summarized version of the overview.
11+
912
At its core, CGP makes use of Rust's trait system to build generic
1013
component _interfaces_ that decouple code that _consumes_ an interface
1114
from code that _implements_ an interface.

0 commit comments

Comments
 (0)