We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6f5cc1 commit 81321a0Copy full SHA for 81321a0
src/write_once_read_many.jl
@@ -1,7 +1,12 @@
1
"""
2
- WriteOnceReadMany()
+ WriteOnceReadMany{V}(container::V)
3
4
-Used for storing units, values, symbolic-units.
+A wrapper type for container that only defines methods
5
+for appending to and reading to, but not modifying the container.
6
+
7
+This is so that we can safely define a `@register_unit` interface
8
+without needing to worry about the user overwriting previously
9
+defined units and voiding the indexing of symbolic dimensions.
10
11
struct WriteOnceReadMany{V}
12
_raw_data::V
0 commit comments