aboutsummaryrefslogtreecommitdiff
path: root/spec/inferred.md
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2021-01-21 20:41:53 -0500
committerMarshall Lochbaum <mwlochbaum@gmail.com>2021-01-21 20:41:53 -0500
commitf31934418dadd7fd7e5ea31634a40d3e9e4edfdc (patch)
treef178922f1c6b3e9d1dfb5db5739930ae9706deee /spec/inferred.md
parent0000f894faae0daf7a3ee362abc9054697b513e4 (diff)
Fill for a string literal is a character
Diffstat (limited to 'spec/inferred.md')
-rw-r--r--spec/inferred.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/inferred.md b/spec/inferred.md
index ae2ccd05..4b729225 100644
--- a/spec/inferred.md
+++ b/spec/inferred.md
@@ -36,6 +36,8 @@ Any BQN array can have a *fill element*, which is a sort of "default" value for
A fill element can be either `0`, `' '`, or an array of valid fill elements. If the fill element is an array, then it may also have a fill element (since it is an ordinary BQN array). The fill element is meant to describe the shared structure of the elements of an array: for example, the fill element of an array of numbers should be `0`, while the fill element for an array of variable-length lists should probably be `⟨⟩`. However, the fill element, unlike other inferred properties, does not satisfy any particular constraints that relate it to its array.
+In addition to the requirements below, the fill element for the value of a string literal is `' '`.
+
### Required functions
Combinators `⊣⊢!˙˜´˝∘○⊸⟜⊘◶⍟` do not affect fill element computation: if the combinator calls a function that computes a fill element, then that fill element must be retained if the result is passed to other functions or returned. `⍟` constructs arrays if its right operand is or contains arrays, and the fill elements of these arrays are not specified; converting `𝕩` to a fill element is a reasonable choice in some cases but not others.