« first day (2802 days earlier)      last day (1679 days later) » 

7:44 AM
Why doesn't "[[" work as a rule for inputAutoReplacements? I see a bunch of ugly work arounds here [1] but is there a reason why it's an invalid rule as an autoreplacement?

[1] https://mathematica.stackexchange.com/questions/194775/how-can-i-automatically-replace-and-with-the-leftdoublebracket-and-ri
 
8:00 AM
@1110101001 I guess the reason is the following note in the documentation of InputAutoReplacements: "In expression input, automatic replacements can be performed only on strings of characters that correspond to complete input tokens." Compare the following two box structures:
MathLink`CallFrontEnd[
 FrontEnd`UndocumentedTestFEParserPacket["a->", True]]
(* {BoxData[RowBox[{"a", "->"}]], StandardForm} *)

MathLink`CallFrontEnd[
 FrontEnd`UndocumentedTestFEParserPacket["a[[", True]]
(* {BoxData[RowBox[{"a", "[", "["}]], StandardForm} *)
As you can see, [[ is not a single token at this stage, while -> is
(more generally, [[ is never a single token - even a[[b]] is represented by the box structure RowBox[{"a", "[", RowBox[{"[", "b", "]"}], "]"}])
 
@AaronStevens Have you checked the tag [boundary-condition-at-infinity]?: mathematica.stackexchange.com/questions/tagged/…
 
 
7 hours later…
 
2 hours later…
5:28 PM
 
 
2 hours later…
 
1 hour later…
9:09 PM
posted on September 20, 2019

Science & Technology

 
9:20 PM
Here is someone saying that he cannot accept answers to his old questions. Is this legit? I have never heard of it before, and cannot find any information.
 

« first day (2802 days earlier)      last day (1679 days later) »