« first day (999 days earlier)      last day (1955 days later) » 

01:16
@Adám APLcart has a typo on the top: C, D: chara_ra_cter array
 
4 hours later…
05:00
Any idea to improve this?
 
5 hours later…
10:12
@Bubbler Why is there an issue with length-1 arrays?
10:25
⋄⎕←(⍴-0(⊥⍨=)⊢⌹∘⍉∘↑1+⍴⍴¨(⊢,1+⌽)∘⍳¨∘⍳∘⍴)1⋄⎕←(⍴-0(⊥⍨=)⊢⌹∘⍉∘↑1+⍴⍴¨(⊢,1+⌽)∘⍳¨∘⍳∘⍴)1 1
@Sherlock9
DOMAIN ERROR
Ack should have split them up
⎕←(⍴-0(⊥⍨=)⊢⌹∘⍉∘↑1+⍴⍴¨(⊢,1+⌽)∘⍳¨∘⍳∘⍴)1
@Sherlock9
DOMAIN ERROR
Using ≢ in place of every monadic ⍴ will fix that
Ahh right
10:27
⎕←(≢-0(⊥⍨=)⊢⌹∘⍉∘↑1+≢⍴¨(⊢,1+⌽)∘⍳¨∘⍳∘≢)1
@Bubbler
1
Ah and I see that the other way you've gotten around that in the test cases is by using 1⍴1. Pardon me, I should have read the test cases more carefully
 
2 hours later…
12:44
No problem, your question made me recall the "tally" function :)
12:55
it probably doesn't work on (m)any other cases, might get in an infinite loop and is pretty damn slow, but i'm happy
Ven
Ven
The opposite of pointle^W pointfree.io?
@Ven well i do have a trainifier too, but it's way more simple
 
3 hours later…
16:04
is there a way to see a train tree in the interpreter like we can see here?
@rcabaco ]box on -trains=tree
thank you!
(~'='⍷¨⊢)args
this works as i expect, for each of the arguments it gives me a boolean vector where the data is not '='
now i want to partition each argument with this result
(⊢⊆⍨~'='⍷¨⊢)args
this was obviously my first approach, which does not work
⎕←(⊢⊆⍨~'='⍷¨⊢)
@rcabaco
┌─┴─┐
⊢ ┌─┼─────┐
  ⍨ ~ ┌───┼─┐
┌─┘   '=' ¨ ⊢
⊆       ┌─┘
        ⍷
(⊢⊆⍨(~'='⍷¨⊢)) should work
i still get a domain error
but looking at the tree i cannot spot the problem
16:15
Well, I'm not sure what '='⍷¨⊢ is supposed to do. What sort of argument do you have? Maybe you want (⊢⊆⍨(~'='⍷⊢))¨
i am missing an each for the partition enclosed
or i can try that
you are right, one each is enough
thank you
It might make more sense to remove the like ((~'='⍷⊢)⊆⊢)¨
(⊢⊆⍨∘~'='⍷⊢)¨ also works
yep :)
ngn
ngn
16:56
@Bubbler ≢{⊃⌽⍋0≠⍵⌹⍉1+↑(⍺⍴⍳,⊢-⍳)¨⍳⍺}⊢ with ⎕io←0
 
1 hour later…
18:24
how can i break a vector in groups of two?
reshape!!!
i have been on this for an hour and didn't think of reshape
 
2 hours later…
20:40
⎕←(⊢⊂⍨2|⍳∘≢)⍳10
20:51
21:02
@voidhawk the bot doesn't understand backticks, you must prepend 4 spaces to monospacify for it to work

« first day (999 days earlier)      last day (1955 days later) »