Prototype: Difference between revisions

Jump to navigation Jump to search
m (Text replacement - "<source" to "<syntaxhighlight")
(Fix glyph)
 
Line 73: Line 73:
However, an array's prototype can always be determined by reshaping the array to become empty, and then coercing out a fill element:
However, an array's prototype can always be determined by reshaping the array to become empty, and then coercing out a fill element:
<syntaxhighlight lang=apl>
<syntaxhighlight lang=apl>
       0 ⍴ (1 2 'ab') 3 4
       0 ⍴ (1 2 'ab') 3 4
┌─┬─┬──┐
┌─┬─┬──┐
│0│0│  │
│0│0│  │