« first day (2135 days earlier)      last day (526 days later) » 

12:19 AM
Btw I think co-dfns does a really unintutive type inferencing on the rank of the array.
 
 
10 hours later…
10:00 AM
How can the ⎕TBT window be displayed automatically with the conference version while tracing? So not having to type )ed ⎕TBT. The first time a dyalog is shown asking this, but I closed it.
 
10:22 AM
@Richard Options>Configure>Saved Responses?
 
yes :)
(⊣×∘⌊0.5+÷⍨)
and the train version, which took me a while...
 
Nice.
 
11:16 AM
@Adám did make a two step approach because the method for removing ' is different compared to removing ".
{⍵/⍨~1↓¯1↓≠\(¯2⌽' '''⍷w)∨''' '⍷w←' ',⍵,' '}{⍵/⍨m∨~≠\m←'"'=⍵}
 
Why are they different?
 
because the single quote can appear inside a word and the double quote not
and you would like to match the single quotes with the single quotes.
But I can look if the method for single quote can be used for the double quotes at the same time
 
Hold on, it should handle both type of strings equally.
'won''t "ain''t" work ''correctly''?' should give 'won''t "" work ''''?'
 
ah, missing one single quote. I'll have a look.
Btw. In Dutch you can have sentences like this 'ik weet niet hoe 't moet'. So a single quote in front of a single letter :)
 
'tis true for English too.
 
11:31 AM
Still possible without regex? Then I'll think about another solution
 
Uh, I'm not sure how you'd even do it using regex.
 
 
2 hours later…
1:33 PM
@Adám - Not quite; there are no words in English that are apostrophe-followed-by-single-letter as there are in Dutch. But yes, the apostrophe can start a word in English.
 
2:03 PM
@JeffZeitlin Well, letters vs spaces doesn't matter here; the important part is that a text can begin with a single apostrophe which isn't a citation.
 
 
2 hours later…
4:08 PM
@Adám I think the reverse rule might be required, too: XLS:AF→AF
 
4:35 PM
Is there a way to get the actual interpreter to give its view of the parse tree for a general expression (without dfns.parse), like it does for trains?
 
 
3 hours later…
7:05 PM
@xpqz No, firstly because it doesn't build a parse tree, secondly because it does JIT parsing.
 
 
2 hours later…
9:29 PM
JIT parsing: redo the parsing each time control flow moves through current line ;D
 
 
1 hour later…
10:30 PM
⊃⍤⍋ and ⊃⍤⍒ got added as special forms in 18.0 (I think), but did they make it to 18.2? Can't find them in the idiom list from the Dyalog docs
cmpx '⊃⍤⍋t' 't⍳⌊/t'
⊃⍤⍋t → 2.0E¯5 | 0% ⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕
t⍳⌊/t → 8.3E¯7 | -96% ⎕⎕
Guess not :|
This would be my number 2 feature request for 19.0 btw (right behind support for Apple M1)
 
10:59 PM
@voidhawk sadly not
 

« first day (2135 days earlier)      last day (526 days later) »