Timeline for Replace Condition in Replacement Rules
Current License: CC BY-SA 4.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 17, 2020 at 15:00 | history | tweeted | twitter.com/StackMma/status/1306608880089214976 | ||
| Sep 17, 2020 at 2:24 | comment | added | JP-Ellis | Interesting that this works, but if you split the two alternatives into their own rules then it doesn't work. | |
| Sep 16, 2020 at 17:05 | comment | added | kglr | {HoldPattern[f[(x_)?InexactNumberQ]] :> x^2, HoldPattern[g[x_] /; FooQ[x]] :> x^3} /. (Condition | PatternTest)[ p_, q_] :> p works. | |
| Sep 16, 2020 at 11:54 | vote | accept | JP-Ellis | ||
| Sep 16, 2020 at 11:27 | history | edited | xzczd♦ | CC BY-SA 4.0 | edited body |
| Sep 16, 2020 at 11:23 | answer | added | xzczd♦ | timeline score: 5 | |
| Sep 16, 2020 at 11:21 | history | edited | xzczd♦ | edited tags | |
| Sep 16, 2020 at 8:49 | history | asked | JP-Ellis | CC BY-SA 4.0 |