Re: [Jprogramming] Tacit definition of infix similar to special gerund form of amend

2017-01-17 Thread Raul Miller
Your 'abc' ([ ,:&.:>"(1 0) (<\~ -@:#)~) 'arbitrary_string' or, perhaps 'abc' (<@[ ,:&.> (<\~ -@:#)~) 'arbitrary_string' is what I would do for your spec here. The secondary spec - that the left argument be incorporated into the definition generated by the \ adverb - is at odds with your re

Re: [Jprogramming] Tacit definition of infix similar to special gerund form of amend

2017-01-17 Thread Louis de Forcrand
f=: [ <@,:"1 -@#@[ ]\ ] Louis > On 17 Jan 2017, at 18:09, Mark Allen wrote: > > I have the following line of J: > > > _3 (<@:('key'&,:)\) 'arbitrary_string' > > ┌───┬───┬───┬───┬───┬───┐ > > │key│key│key│key│key│key│ > > │arb│itr│ary│_st│rin│g │ > > └───┴───┴───┴───┴───┴───┘ > > > I wo

Re: [Jprogramming] Tacit definition of infix similar to special gerund form of amend

2017-01-17 Thread Don Guinn
This doesn't use insert, but it is completely tacit. f=:[:<"2[,:"1],\~[:-[:#[ 'key2' f 'another_arbitrary_string' +++++++ |key2|key2|key2|key2|key2|key2| |anot|her_|arbi|trar|y_st|ring| +++++++ On Tue, Jan 17, 2017 at 10:29 AM, 'Pascal Ja

Re: [Jprogramming] Tacit definition of infix similar to special gerund form of amend

2017-01-17 Thread 'Pascal Jasmin' via Programming
almost tacit, _3 'key' 1 : '<@(m ,: ])\' 'arbitrary_string' what I mean by almost is that 'key' 1 : '<@(m ,: ])\' <@('key' ,: ])\ is resolved to a tacit verb. - Original Message - From: Mark Allen To: Programming forum Sent: Tuesday, January 17, 2017 12:09 PM Subject: [Jprogram

[Jprogramming] Tacit definition of infix similar to special gerund form of amend

2017-01-17 Thread Mark Allen
I have the following line of J: _3 (<@:('key'&,:)\) 'arbitrary_string' ┌───┬───┬───┬───┬───┬───┐ │key│key│key│key│key│key│ │arb│itr│ary│_st│rin│g │ └───┴───┴───┴───┴───┴───┘ I would like to define it entirely tacitly, i.e. I want a verb *f *such that 'abc' f\ 'arbitrary_string' ┌───┬───

Re: [Jprogramming] JNet front-end

2017-01-17 Thread bill lam
Thanks David for testing, the difference between 3 versions of jnet.exe needed be detailed in other places, perhaps data/migration.txt the dirmatch should be a bug. do debug icon appear after entering suspension mode? event demo can be closed by clicking the "cancel" botton in the bottom. I'll

Re: [Jprogramming] JNet front-end

2017-01-17 Thread David Mitchell
Thanks, Bill. This looks interesting. Here are some notes I have from early usage: Win10 and Centos 7 1. The manifest install instructions were a bit too j-centric for my taste. I would have said something like: Copy one of the three jnet.exe files to your j805 bin directory. copying