Skip to content

Commit 36bd7b6

Browse files
authored
fix: RFC-0029 consistently use "Array" rather than "Encoding" (#41)
`s` cannot be a right inverse of $\pi$ unless its output type is the input type of $\pi$. Signed-off-by: Dan King <daniel.zidan.king@gmail.com>
1 parent 396f279 commit 36bd7b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proposed/0029-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ Observe that every physical array (a specific encoding combined with actual data
128128
array. A `VarBinView` array can map to either `Utf8` or `Binary`, depending on whether its contents
129129
are valid UTF-8. Call this projection `π : Array → DType`.
130130

131-
A **section** is a right-inverse of this projection: a function `s : DType → Encoding` that injects
131+
A **section** is a right-inverse of this projection: a function `s : DType → Array` that injects
132132
each logical type back into the space of physical encodings, such that projecting back recovers the
133133
original `DType` (`π(s(d)) = d`). In other words, a section answers the question: "given a logical
134134
type, which physical encoding should I use to represent it?"

0 commit comments

Comments
 (0)