mming] -: on empty arguments with differing types
It's a good thing. To do otherwise is a joke - an empty-array joke, in
particular:
A man sits down in a diner and asks the waitress for a cup of coffee "without
cream".
The waitress replies: "We're out of cream, sir. W
It's a good thing. To do otherwise is a joke - an empty-array joke, in
particular:
A man sits down in a diner and asks the waitress for a cup of coffee
"without cream".
The waitress replies: "We're out of cream, sir. Would you like it without
milk?"
On Tue, Oct 29, 2013 at 12:43 PM, Zsbán Ambr
On Sat, Oct 26, 2013 at 7:04 AM, Ganesh Rapolu wrote:
> The dictionary does not say that the two arguments for -: have to match in
> type so this result is correct. Nevertheless, I would be glad if someone
> could provide an explanation/justification for this behavior.
>
>datatype m =. 0 {. 'a
Upon further searching, I found
http://www.jsoftware.com/pipermail/general/2005-November/025629.html, which
seems to answer my question.
On Fri, Oct 25, 2013 at 7:04 PM, Ganesh Rapolu wrote:
> The dictionary does not say that the two arguments for -: have to match in
> type so this result is co
The dictionary does not say that the two arguments for -: have to match in
type so this result is correct. Nevertheless, I would be glad if someone
could provide an explanation/justification for this behavior.
datatype m =. 0 {. 'adaf'
literal
datatype n =. 0 {. 10 0 10 10
integer
m -: n