« first day (425 days earlier)      last day (2523 days later) » 

01:43
@ngn thanks
 
9 hours later…
10:49
Join our live webinar - APL Processes and Isolates in the Clouds - on Thursday 19 April 2018 at 15:00 UTC where Morten will demonstrate how to launch APL processes on Amazon WebServices under program control https://dyalog.tv/Webinar Next webinar is Thursday 17 May at 15:00 UTC.
11:42
Join our live webinar - Isolates & other APL Processes in the Cloud - on Thursday 19 April 2018 at 15:00 UTC where Morten will demonstrate how to launch APL processes on Amazon WebServices under program control https://dyalog.tv/Webinar Next webinar Thursday 17 May at 15:00 UTC
 
2 hours later…
13:20
@ngn I edited my answer there but forgot to thank you here, man. Thanks a lot :)
Does anyone know what is called if I have a function like ⍺{something:{target:⍺∇(1+⍵)⋄⍺}⋄something_else}⍵? Is the whole function called recursively, or just the inner function?
@J.Sallé The inner. always refers to the innermost function.
@Adám Is it possible to call the outer function from the inner in this case?
@J.Sallé You could let the inner be an operator and feed it the outer as operand (∇{}), or you could name the outer (even inside itself with f←∇) and call it by name.
@Adám ah, okay, sounds good.
@Adám another, totally unrelated question: on a tacit function, how can I get a vector argument something<argument? Not sure if that's clear enough
Basically I have an argument x, and I need a vector x y<x
13:37
@J.Sallé 0,> ?
I tried doing ⊢ (1<⊢) and some variations of that but it obviously just returns 0 or 1 depending on the result of <
@Adám that raises an exception telling me I need another argument
@J.Sallé Parens? as in 3(0,>)2
@Adám I don't think I phrased the question properly, actually. I need the resulting vector to be x y<x as in: Argument 10; I need the vector 10, (y<10) (which would be either 10 0 or 10 1)
@J.Sallé What you're actually asking for is (,⍨<⊢) but x<x is always 0, so I just wrote (0,⊢<⊣) but ⊢<⊣ is just < so I wrote (0,>).
@Adám that's also not it, since it gives me either 1 1 or 0 0. I managed to make it a Dfn though (which is quite trivial), I'll try to translate from there
13:52
@J.Sallé How does your dfn look? (I can let you have the exercise of translation, but I'd like to understand what you meant.)
@Adám well the relevant part is {⍵(1<⍵)×something}10
@J.Sallé Oh. Maybe use ,? {⍵,(1<⍵)×something}10
@Adám Yeah, I'm trying some forks using ,
@J.Sallé Unfortunately we don't have a "space" primitive, such that A f B f C is the same as A B C.
@Adám I think I need an "Agh" fork, but it's still eluding me >.>
13:59
A f B is A B for f←{⍺⍵} though. And f←{(⊂⍺),⊆⍵} covers most, but not all, cases.
I'm currently with ,⍨ to yield me arg arg, but that doesn't help since < compares the left arg with each of the right args
@J.Sallé How about (⊢,<)?
@Adám aaaaaaaand you solved it. I tried ever combination of ⊢(1,<) I could think of and this one didn't pop into my mind >.>

« first day (425 days earlier)      last day (2523 days later) »