« first day (790 days earlier)      last day (1851 days later) » 

11:43 AM
My take on an APL keyboard: - based on @Dyalogapl's key layout - letter/digits on key caps based on @fabrizioschiavi's PragmataPro font - custom built by @wasdkeyboards - blue Cherry MX switches ♫ #clickidiclack
 
 
4 hours later…
Ven
3:36 PM
Mh, absolute difference isn't going like I'd like it to
for Valid Badminton score? I have (60>+/)∧(∧/0∘≤) for the "valid score part"
I don't know how to sort in a train though, mhm :)
edit: ⊂∘⍋∘⊢⌷⊢
⎕←(2∘>(-/⊂∘⍋∘⊢⌷⊢))0 1
 
@Ven
1
 
Ven
⎕←(2∘≤|∘(-/(⊂∘⍋∘⊢⌷⊢)))0 1
 
@Ven
0
 
Ven
⎕←((2∘≤|∘(-/(⊂∘⍋∘⊢⌷⊢))),((60>+/)∧(∧/0∘≤)))21 23
 
@Ven
1 1
 
Ven
3:48 PM
...What monster did I create...
 
4:15 PM
@Ven Why do you need to sort at all?
 
4:30 PM
@Ven Right. For reference, you don't need to sort to check if an array is sorted; ⍋≡⍳∘≢ works too.
 
Ven
I wanted to -/ to get the difference between them (check that |v|<2) to know if the game was on or not.
Er, that's a mistake edit...
 
@Ven Btw, as you work on fixing the issues, consider making the function dyadic, so +/ and -/ become + and -. I'm not sure if it will save bytes in the long run, but it is worth investigating.
 
Ven
if I followed Arnauld's check pattern, it certainl would help
 
Ven
5:15 PM
I probably won't be able to fix it until tomorrow btw, which is why I deleted it for now. Feel free to answer, since you posted a comment on the q.
 

« first day (790 days earlier)      last day (1851 days later) »