Discussion:
[Bug-apl] Execute each changes shape
Kacper Gutowski
2017-08-15 19:27:20 UTC
Permalink
I'm not sure when it started happening, but it seems that ⍎¨ always
returns a vector regardless of the shape of its argument:

⍴ ⍎¨ '1'
1
⍴ {⍎⍵}¨ '1'

⍴ ⍎¨ 2 2⍴,¨'1234'
4
⍴ {⍎⍵}¨ 2 2⍴,¨'1234'
2 2


-k
Juergen Sauermann
2017-08-16 11:13:51 UTC
Permalink
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Helvetica, Arial, sans-serif">Hi Kacper,<br>
<br>
thanks, fixed in <b>SVN 994</b>.<br>
</font><br>
/// Jürgen<br>
<br>
<br>
<div class="moz-cite-prefix">On 08/15/2017 09:27 PM, Kacper Gutowski
wrote:<br>
</div>
<blockquote cite="mid:***@gmail.com"
type="cite">
<pre wrap="">I'm not sure when it started happening, but it seems that ⍎¨ always
returns a vector regardless of the shape of its argument:

⍴ ⍎¨ '1'
1
⍴ {⍎⍵}¨ '1'

⍴ ⍎¨ 2 2⍴,¨'1234'
4
⍴ {⍎⍵}¨ 2 2⍴,¨'1234'
2 2


-k


</pre>
</blockquote>
<br>
</body>
</html>

Continue reading on narkive:
Loading...