aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2020-12-21 21:55:37 -0500
committerMarshall Lochbaum <mwlochbaum@gmail.com>2020-12-21 21:56:59 -0500
commit3a0c9aeebef6a133396a270a67592c6b958ab79d (patch)
tree05e649fa4fdfb47baf8ff95d0544501f1f5e136c
parent4098cbf57bf596bbad2d107f923caba8b701277a (diff)
Rename Type to Fill in reference.bqn
-rw-r--r--docs/spec/primitive.html2
-rw-r--r--spec/primitive.md2
-rw-r--r--spec/reference.bqn8
3 files changed, 6 insertions, 6 deletions
diff --git a/docs/spec/primitive.html b/docs/spec/primitive.html
index 118cff41..53a74f25 100644
--- a/docs/spec/primitive.html
+++ b/docs/spec/primitive.html
@@ -62,7 +62,7 @@
<ul>
<li><code><span class='Function'>Identity</span></code> gives the identity value for reduction by function <code><span class='Function'>𝕏</span></code>.</li>
<li><strong>Undo</strong> (<code><span class='Modifier'>⁼</span></code>) gives a partial right inverse for function <code><span class='Function'>𝔽</span></code>.</li>
-<li><code><span class='Function'>Type</span></code> gives the enclose of the fill value for array <code><span class='Value'>𝕩</span></code>.</li>
+<li><code><span class='Function'>Fill</span></code> gives the enclose of the fill value for array <code><span class='Value'>𝕩</span></code>.</li>
</ul>
<h2 id="other-provided-functionality">Other provided functionality</h2>
<ul>
diff --git a/spec/primitive.md b/spec/primitive.md
index 21306fef..028cd80d 100644
--- a/spec/primitive.md
+++ b/spec/primitive.md
@@ -69,7 +69,7 @@ Inferred properties are specified in [their own document](inferred.md), not in t
- `Identity` gives the identity value for reduction by function `𝕏`.
- **Undo** (`⁼`) gives a partial right inverse for function `𝔽`.
-- `Type` gives the enclose of the fill value for array `𝕩`.
+- `Fill` gives the enclose of the fill value for array `𝕩`.
## Other provided functionality
diff --git a/spec/reference.bqn b/spec/reference.bqn
index 6e88da0a..4b17031a 100644
--- a/spec/reference.bqn
+++ b/spec/reference.bqn
@@ -35,7 +35,7 @@ _amend # {𝕨˙⌾(𝕗⊸⊑)𝕩}
↕ # LIMITED to number 𝕩
Identity # Left or right identity of function 𝕏
⁼ # Inverse of function 𝔽
-Type # Unit (enclosed) prototype of 𝕩
+Fill # Enclosed fill value for 𝕩
#⌜
@@ -146,9 +146,9 @@ Reshape←{
! +´e
a←(2⌊t)◶⟨{!Nat𝕩⋄𝕩},⌊,⌈⟩n÷lp
s↩p⊣◶⊢‿a¨s
- {d∾↩(Type d)⌜↕𝕩-n⋄n↩𝕩}⍟(n⊸<)⍟(3=t)lp×a
+ {d∾↩(Fill d)⌜↕𝕩-n⋄n↩𝕩}⍟(n⊸<)⍟(3=t)lp×a
} s
- s⥊d(n<○(0⊸<)l)◶⟨Type⊸(⊣¨)⋄{⊑⟜𝕨¨n|𝕩}⟩↕l
+ s⥊d(n<○(0⊸<)l)◶⟨Fill⊸(⊣¨)⋄{⊑⟜𝕨¨n|𝕩}⟩↕l
}
Range←{
@@ -301,7 +301,7 @@ Take←{
! Int 𝕨
l←≠𝕩
i←(l+1)|¯1⌈l⌊((𝕨<0)×𝕨+l)+↕|𝕨
- i⊏JoinTo⟜(1⊸Cell⥊Type)⍟(∨´l=i)𝕩
+ i⊏JoinTo⟜(1⊸Cell⥊Fill)⍟(∨´l=i)𝕩
}
𝕨 T _onAxes_ 0 (⟨1⟩⥊˜0⌈𝕨-○≠⊢)⊸∾∘≢⊸⥊𝕩
}