Hi all!
I think you usually design a way to end the recursion. The deepest
function returns to the one above and so on. In the case of tail
recursion there is simply no stack and you would immediately return.
Using exception handling to do this does not seem proper. You'd probably
want to use
Thank you, that worked.
On 12/31/2017 01:32 PM, Cliff Reiter wrote:
This may not be a good choice as I don't understand all the consequences and
hesitate to change values in addons authored by others, but you might try:
MINWH_jviewmat_=:1000 1000
or a variant suited to your device and data.
On
When using (1!:2) & 2 to write the screen, is there a way to overwrite the next
message on the previous one, rather than starting a new line or appending?
--
For information about J forums see http://www.jsoftware.com/forums.htm
I imagine so, but the details for that kind of stunt will vary
depending on what kind of screen you are writing to.
Are you trying to use jconsole, jqt or jhs?
Thanks,
--
Raul
On Tue, Jan 2, 2018 at 1:15 PM, Dabrowski, Andrew John
wrote:
> When using (1!:2) & 2 to write the screen, is there
Actually I'm using emacs with j-mode. If you could just point me in the right
direction, maybe give some keywords to google, that would be helpful.
On 01/02/2018 01:21 PM, Raul Miller wrote:
I imagine so, but the details for that kind of stunt will vary
depending on what kind of screen you are
Does J have a backspace character? Perhaps I could use that with (1!:3) & 2.
On 01/02/2018 01:31 PM, Dabrowski, Andrew John wrote:
Actually I'm using emacs with j-mode. If you could just point me in the right
direction, maybe give some keywords to google, that would be helpful.
On 01/02/2018
You'll probably want to use an emacs filter function for this:
https://www.gnu.org/software/emacs/manual/html_node/elisp/Filter-Functions.html
Good luck,
--
Raul
On Tue, Jan 2, 2018 at 1:31 PM, Dabrowski, Andrew John
wrote:
> Actually I'm using emacs with j-mode. If you could just point me
The backspace character is available in J as 8{a. or u:8
But, last time I checked, the default behavior of emacs here would not
be what you are hoping for (which is why I suggest you look into emacs
filter functions).
Good luck,
--
Raul
On Tue, Jan 2, 2018 at 1:45 PM, Dabrowski, Andrew John
It seems to work fine in the comint buffer.
'a' , u:8
'ab' , u:8
a
'abc' , u:8
ab
On 01/02/2018 01:50 PM, Raul Miller wrote:
The backspace character is available in J as 8{a. or u:8
But, last time I checked, the default behavior of emacs here would not
be what you are hoping for (whi
Nice.
Either I remembered wrong, or it's just been too long.
Thanks,
--
Raul
On Tue, Jan 2, 2018 at 2:36 PM, Dabrowski, Andrew John
wrote:
> It seems to work fine in the comint buffer.
>
>'a' , u:8
>
>'ab' , u:8
> a
>'abc' , u:8
> ab
>
>
> On 01/02/2018 01:50 PM, Raul Miller wrot
Thanks for pointing me to the unicode operator, that was what I was looking for.
Unfortunately I now find that (1!:3)&2 doesn't really append.
(1!:3)&2 ^:3 'a'
a
a
a
a
This isn't an emacs problem either, I get the same behavior in jqt and
ijconsole. Is there no print function that doesn't i
(Won't backspace bring you back to previous lines?)
Anyways, 1!:2&4 should give you the incomplete lines you are looking
for in jconsole. But note that they have different behavior in jqt
(you won't be seeing them if you don't make special arrangements).
Thanks,
--
Raul
On Tue, Jan 2, 2018 at
On 01/02/2018 03:52 PM, Raul Miller wrote:
(Won't backspace bring you back to previous lines?)
Exasperatingly, no. Although normally I can backspace my way all over a comint
buffer, with (1!:3)&2 that doesn't work
Anyways, 1!:2&4 should give you the incomplete lines you are looking
for in jc
Why do you say that you aren't using stdout?
What happens when you use 1!:2&4?
Thanks,
--
Raul
On Tue, Jan 2, 2018 at 4:05 PM, Dabrowski, Andrew John
wrote:
> On 01/02/2018 03:52 PM, Raul Miller wrote:
>
> (Won't backspace bring you back to previous lines?)
>
> Exasperatingly, no. Although n
14 matches
Mail list logo