[Jprogramming] Report of the J Wiki meeting of February 16th, 2023

2023-02-21 Thread 'robert therriault' via Programming
Present: Art Anger, Devon McCormick, Raul Miller, and Bob Therriault 1) We started off with a discussion of the categorization that Bob has done. Raul pointed out that in cases such as NYCJUG pages there are many sub categories that could be applied in addition to the User Groups category. Bob

Re: [Jprogramming] Applying a cyclic gerund

2023-02-21 Thread 'Pascal Jasmin' via Programming
there is G1 =: 1 {:: ] G0 =: 0 {:: ] (G0 ; ".@G1) 'abc';'13.2' On Tuesday, February 21, 2023 at 11:18:21 p.m. EST, Elijah Stone wrote: Your routine most likely doesn't do what you want it to:     'abc ' -: 0{:: (<@:])`(<@:".)"1 >'abc';'13.2' 1 The 'abc' got padded when you opened.

Re: [Jprogramming] Applying a cyclic gerund

2023-02-21 Thread Henry Rich
    ci =. 'abc';'13.2'    (datatype L:0) 0 1 (0&".@])^:[ L:0"0  ci ---++ literal|floating| ---++ Henry Rich On 2/21/2023 11:08 PM, Gilles Kirouac wrote: I have two character strings :    datatype each 'abc';'13.2' ┌───┬───┐ │literal│literal│ └───┴───┘ I

Re: [Jprogramming] Applying a cyclic gerund

2023-02-21 Thread Elijah Stone
Your routine most likely doesn't do what you want it to: 'abc ' -: 0{:: (<@:])`(<@:".)"1 >'abc';'13.2' 1 The 'abc' got padded when you opened. You could go for ]`(".&.>)"1. Or {{y 1}~ ".&.> 1{y}}. I don't expect you're likely to find anything much nicer. (Had j structural under, you mig

[Jprogramming] Applying a cyclic gerund

2023-02-21 Thread Gilles Kirouac
I have two character strings : datatype each 'abc';'13.2' ┌───┬───┐ │literal│literal│ └───┴───┘ I want to convert the second one into numerical data datatype each (<@:])`(<@:".)"1 >'abc';'13.2' ┌───┬┐ │literal│floating│ └───┴┘ Can you simplify the a