« first day (2724 days earlier)
← previous day
next day →
last day (125 days later) »
Adám
8:12 AM
@Silas I have
{⍵⊂⍨{a=a(⊢+⊣×10≥+)←⍵}¨⍵⊣a←0}
14 hours later…
RikedyP
9:56 PM
Is it {⍵⊆⍨1+(10×⍳≢⍵)⍸+\⍵}?
Oops ofc not
Silas
10:22 PM
Ah, that's another way maybe - but doomed too like 10| ?
Silas
10:34 PM
yeah, feeling more that have to test whilst scanning
@Adám have you got a solution at all that postprocesses the +\⍵ ?
Adám
@Silas No, it is too late by then.
Silas
ah, shame - feels like something that should be computable…
Adám
You have to make decisions as you go along. It should be possible to phrase it (awkwardly) with
/
but not with
\
because it starts over for every element.
Adám
11:09 PM
@Marshall You can do the above with a single pass of
`
in BQN, right?
« first day (2724 days earlier)
← previous day
next day →
last day (125 days later) »
all rooms
Transcript for
Jul
10
Jul
11
Jul
12
The APL Orchard
apl.chat
― Learn, teach, ask, code, golf, & discuss usage. See
...
5
apl
array-manipulation
j
tips
join this room
about this room
00:00
06:00
12:00
18:00
all times are UTC
site design / logo © 2024 Stack Exchange Inc;
legal
mobile