Re: [Jprogramming] making this tacit

2013-10-29 Thread Don Kelly
You are right but it is a bit of serendipity What I wanted is (a*b+ b*c+c*a ) % c a b . it doesn't matter how the pairs are formed in the numerator ac+ba+cb is the same. The objective is to have this sum divided by a c b a orde.r The problem is in the notation. Single subscripts due to singular

Re: [Jprogramming] code golf

2013-10-29 Thread David Lambert
Latte and tumbler are easily claimed with straightforward ' *'{~#:32 32 80 136 260 1539 260 136 80 32 32 NB. 46 characters How can we compress the integer vector into less than 11 characters? Raul has previously shown amazing tricks. With unicode, if U stands for a character vector that p

Re: [Jprogramming] -: on empty arguments with differing types

2013-10-29 Thread Ken Chakahwata
Thanks for making me laugh. It's been a long day Enjoy ken -Original Message- From: programming-boun...@forums.jsoftware.com [mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Devon McCormick Sent: 29 October 2013 20:51 To: J-programming forum Subject: Re: [Jprogramming]

Re: [Jprogramming] -: on empty arguments with differing types

2013-10-29 Thread Devon McCormick
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

Re: [Jprogramming] -: on empty arguments with differing types

2013-10-29 Thread Zsbán Ambrus
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

Re: [Jprogramming] code golf

2013-10-29 Thread 김창준
Here is mine: ' *'{~(,{:)@|:@|.^:4]4=+/~|i:4 sent from an android phone 2013. 10. 29. 오전 11:17에 "June Kim (김창준)" 님이 작성: > > There was a large developers conference last weekend in Seoul. The > estimated attendants were about 2000. > > In the open booth hall, they held a code golf contest. The pr