[Jprogramming] Another early morning exercise

Dan Bron j at bron.us
Sun Feb 5 23:57:31 HKT 2012


Linda, Boyko's not the first to express this sentiment to you.  Don't you wonder what the mysterious appeal of @ is?  If so, maybe a more rewarding (and commensurately challenging) exercise for you this morning is:

	translate from expressions without @ to ones with it

For example, you asked for a @-free translation of *:@+/ , and RE provided one.  What he didn't tell you is that *:@+/ is probably not what you're looking for in the first place.  Translating "square of the sum" into @-free J, we have ([: *: +/).  Now, can you (Linda, personally) find an equivalent verb, formulated using @ ?

Good luck,

-Dan

PS:  Even harder challenge.  So hard that I'll open it up to everyone.  Express the original  *:@+/  in English.




-----Original Message-----
From: programming-bounces at jsoftware.com [mailto:programming-bounces at jsoftware.com] On Behalf Of Boyko Bantchev
Sent: Sunday, February 05, 2012 9:17 AM
To: Programming forum
Subject: Re: [Jprogramming] Another early morning exercise

On 5 February 2012 14:11, Linda Alvord <lindaalvord at verizon.net> wrote:
> My goal has been to translate from expressions with �@ �to ones without it.

You also mentioned eliminating @ in another thread.
Why do you consider it important?
@ is the composition of functions � and is composition not the most
natural operation on functions that one could think of?
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm



More information about the Programming mailing list