and then,
}:,' ',~"0 0 'Sassa'
(}:@,@((' ')&(,~"0 0))) 'Sassa' NB. Standalone verb
version--- Björn Helgason <[EMAIL PROTECTED]> wrote: > }. @:, ' ',. "0 'Sassa' > > > 2006/3/22, Henry Rich <[EMAIL PROTECTED]>: > > > > }:@:,@:(,.&' ') 'Sassa' > > S a s s a > > ,&.:(,&' '"1)@,. 'Sassa' > > S a s s a > > > > Henry Rich > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] On > Behalf Of > > > ???????????? ????????? ???????? > > > Sent: Wednesday, March 22, 2006 9:08 AM > > > To: [email protected] > > > Subject: [Jprogramming] Inserting spaces > > > > > > Hello guys. > > > > > > I have just started learning J and got some > problems with > > > TACIT form of thinking... > > > Thus I'll be asking some silly question for > first time :) > > > > > > So the question is: > > > I have a string of chars. I need to insert space > between each > > > two characters. Sounds like a > > > simple task, but I can't figure out how to > compose a > > > corresponding verb. > > > > > > Surely, I defined an explicit function solving > this problem. > > > It looks like > > > > > > join =: 4 : 0 > > > x., ' ', y. > > > ) > > > > > > now this works as > > > join / 'Sassa' > > > S a s s a > > > > > > It works well but it is a still imperative. And > I want to > > > learn to think in functionals. > > > > > > I will be very joyful if you help me. > > > > > > Thanks a lot, and sorry if made some spam :) > > > > > > Alexander Cherednichenko > > > [ the only way out is the way up ] > > > > ---------------------------------------------------------------------- > > > For information about J forums see > > > http://www.jsoftware.com/forums.htm > > > > > ---------------------------------------------------------------------- > > For information about J forums see > http://www.jsoftware.com/forums.htm > > > > > > -- > Björn Helgason, Verkfræðingur > Fugl&Fiskur ehf, Þerneyjarsund 23, > Skype: gosiminn, gsm: +3546985532 > 802 Selfoss ,t-póst: [EMAIL PROTECTED] > http://groups.google.com/group/J-Programming > > > Tæknikunnátta höndlar hið flókna, sköpunargáfa er > meistari einfaldleikans > > góður kennari getur stigið á tær án þess að glansinn > fari af skónum > /|_ > .-----------------------------------. > > ,' .\ / | Með léttri lund verður > | > ,--' _,' | Dagurinn í dag > | > / / | Enn betri en gærdagurinn | > ( -. | > `-----------------------------------' > | ) | > (`-. '--.) > `. )----' > ---------------------------------------------------------------------- > For information about J forums see > http://www.jsoftware.com/forums.htm > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
