Hello,
I am following a YouTube Wolfram Language Fundamentals lecture. I cannot make the condition example at the link's time stamp work in Mathematica Home 10.0.2. The date of the YouTube lecture is Oct 28, 2014 and Mathematica 10.0.2 came out on Dec 15, 2014. Why doesn't this statement work?
{a, b, c} /. { c \[RightArrow] b, b \[RightArrow] a}
I get this error message:
ReplaceAll::reps: {c\[RightArrow]b,b\[RightArrow]a} is neither a list of replacement rules
nor a valid dispatch table, and so cannot be used for replacing. >>
I tried adding spaces, clearing variable names, exiting and re-entering Mathematica, using a new notebook, etc..., but nothing worked. Can someone tell me why the above statement does not work?
Thanks.