Repository navigation
Expand file tree
/
Copy pathmkdocs.yml
More file actions
163 lines (151 loc) · 5.29 KB
/
Copy pathmkdocs.yml
File metadata and controls
163 lines (151 loc) · 5.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
site_name: Pony Patterns
site_url: https://patterns.ponylang.io/
site_description: A cookbook of patterns for writing idiomatic Pony code.
copyright: Copyright © 2025 The Pony Developers
edit_uri: edit/main/docs/
repo_url: https://github.com/ponylang/pony-patterns/
use_directory_urls: false
extra:
generator: false
social:
- icon: fontawesome/brands/github
link: https://github.com/ponylang
- icon: fontawesome/brands/twitter
link: https://twitter.com/ponylang
markdown_extensions:
- pymdownx.highlight
- pymdownx.smartsymbols
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- smarty
- toc:
permalink: true
plugins:
- search
- htmlproofer:
enabled: !ENV [ENABLED_HTMLPROOFER, True]
raise_error: True
- llmstxt:
full_output: llms-full.txt
sections:
Asynchronous Patterns:
- async/*.md
Behavioral Patterns:
- behavioral/*.md
Code Sharing Patterns:
- code-sharing/*.md
Creation Patterns:
- creation/*.md
Data Sharing Patterns:
- data-sharing/*.md
Domain Modeling Patterns:
- domain-modeling/*.md
Error Handling Patterns:
- error-handling/*.md
Object Capabilities Patterns:
- object-capabilities/*.md
Performance Patterns:
- performance/*.md
Resource Management Patterns:
- resource-management/*.md
Streaming Patterns:
- streaming/*.md
Testing Patterns:
- testing/*.md
theme:
name: material
favicon: assets/logo.png
features:
- content.code.copy
- content.code.select
- navigation.footer
- navigation.indexes
- navigation.instant
- navigation.sections
- navigation.tracking
- search.highlight
- search.share
- search.suggest
icon:
repo: fontawesome/brands/github
logo: assets/logo.png
palette:
# Light mode
- scheme: default
primary: brown
accent: amber
toggle:
icon: material/brightness-4
name: Switch to dark mode
# Dark mode
- scheme: slate
primary: brown
accent: amber
toggle:
icon: material/brightness-4
name: Switch to light mode
nav:
- Home: 'index.md'
- Asynchronous Patterns:
- Overview: 'async/index.md'
- Accessing an Actor with Arbitrary Transactions: 'async/access.md'
- Batch and Yield: 'async/batch-and-yield.md'
- Interrogating Actors with Promises: 'async/actorpromise.md'
- Supervisor and Worker: 'async/supervisor-worker.md'
- Waiting: 'async/waiting.md'
- Behavioral Patterns:
- Overview: 'behavioral/index.md'
- State Machine: 'behavioral/state-machine.md'
- Code Sharing Patterns:
- Overview: 'code-sharing/index.md'
- Embed and Delegate: 'code-sharing/embed-and-delegate.md'
- Global Function: 'code-sharing/global-function.md'
- Inheritance: 'code-sharing/inheritance.md'
- Mixin: 'code-sharing/mixin.md'
- Notifier: 'code-sharing/notifier.md'
- Object Algebra: 'code-sharing/object-algebra.md'
- Parser Combinators: 'code-sharing/parser-combinators.md'
- Creation Patterns:
- Overview: 'creation/index.md'
- FFI Global Initializer: 'creation/ffi-global-initializer.md'
- Recover for Isolated Return: 'creation/recover-iso.md'
- Static Constructor: 'creation/static-constructor.md'
- Supply Chain: 'creation/supply-chain.md'
- Typed Step Builder: 'creation/typed-step-builder.md'
- Data Sharing Patterns:
- Overview: 'data-sharing/index.md'
- Copying: 'data-sharing/copying.md'
- Isolated Field: 'data-sharing/isolated-field.md'
- Mutable and Sendable: 'data-sharing/mutable-and-sendable.md'
- Persistent Data Structures: 'data-sharing/persistent-data-structures.md'
- Domain Modeling Patterns:
- Overview: 'domain-modeling/index.md'
- Constrained Types: 'domain-modeling/constrained-types.md'
- Value Classes: 'domain-modeling/value-classes.md'
- Error Handling Patterns:
- Overview: 'error-handling/index.md'
- Error as Union Type: 'error-handling/error-as-union-type.md'
- Object Capabilities Patterns:
- Overview: 'object-capabilities/index.md'
- Authority Hierarchy: 'object-capabilities/authority-hierarchy.md'
- Single Use Object Capabilities: 'object-capabilities/single-use.md'
- Performance Patterns:
- Overview: 'performance/index.md'
- Avoid Boxing with Parameterization: 'performance/avoid-boxing.md'
- Boolean Short-Circuit: 'performance/boolean-short-circuit.md'
- Limiting String Allocations: 'performance/limiting-string-allocations.md'
- Preallocate Arrays: 'performance/preallocate-arrays.md'
- Resource Management Patterns:
- Overview: 'resource-management/index.md'
- Disposable Actor: 'resource-management/disposable-actor.md'
- FFI Resource Lifecycle: 'resource-management/ffi-resource-lifecycle.md'
- Streaming Patterns:
- Overview: 'streaming/index.md'
- Peek Before Consume: 'streaming/peek-before-consume.md'
- Testing Patterns:
- Overview: 'testing/index.md'
- Testing Notifier Interactions: 'testing/notifier-interactions.md'
- Testing Output Only Actors: 'testing/output-only-actors.md'