Tag Info

New answers tagged


One of the problems of the Notation` package is that it is rather heavy and opaque, while what it actually does is rather simple. I suggest a very light-weight substitute for your case: Clear[MakeExpression,makeExpression]; MakeExpression[expr_,form_]:= With[{result=makeExpression[expr,form]}, result /; Head[result]===HoldComplete ]; ...


Notation[OverBar[x_] \[DoubleLongRightArrow] Mean[x_]] z=Range[10]; OverBar[z] (* 11/2 *) n.b.: You cannot just copy/paste the above, per my comment.

Top 50 recent answers are included