aboutsummaryrefslogtreecommitdiff
path: root/spec/reference.bqn
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 /spec/reference.bqn
parent4098cbf57bf596bbad2d107f923caba8b701277a (diff)
Rename Type to Fill in reference.bqn
Diffstat (limited to 'spec/reference.bqn')
-rw-r--r--spec/reference.bqn8
1 files changed, 4 insertions, 4 deletions
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⌈𝕨-○≠⊢)⊸∾∘≢⊸⥊𝕩
}