Linked Questions
11 questions linked to/from Prefix operator with low precedence
3
votes
0answers
94 views
Can I define a “postfix map” operator with comparable precedence behavior to // [duplicate]
I am trying to define a "postfix map" operator (denoted $OP$ for now) that behaves thus:
...
1
vote
0answers
89 views
custom precedence for custom infix operator with InfixNotation [duplicate]
I am trying to define several custom operators with custom precedence to implement geometric algebra. Loading the notation package
<< Notation`
I can ...
69
votes
2answers
5k views
when is f@g not the same as f[g]?
I have always thought that f@g will give the same result as f[g] in all cases, and it is just a matter of style which one to use ...
34
votes
2answers
2k views
Going full functional (Haskell style)
I'm trying to define some notation so that Mathematica code would be more functional, similar to Haskell (just for fun): currying, lambdas, infix operator to function conversion, etc.. And I have some ...
11
votes
4answers
1k views
Piping and Replacement
I haven't been able to figure out how to use piping with certain functions. Specifically, I would like to apply a replacement at the end of a pipe, like the following:
...
33
votes
2answers
2k views
How can I use the Klingon alphabet symbols?
Note: This functionality is presently missing. See: How to add named characters to Mathematica 10?
Mathematica apparently supports the Klingon alphabet:
...
15
votes
3answers
727 views
Is it possible to define custom compound assignment operators like ⊕= similar to built-ins +=, *= etc?
I would like to do something like this:
...
5
votes
2answers
263 views
Pattern matching deletion of list items [duplicate]
Possible Duplicate:
How can I remove B -> A from a list if A -> B is in the list?
I'm working toward building a graph and use some code to construct my rules which results in a form as ...
7
votes
1answer
601 views
How to construct custom operators with precedence?
I need to combine data structures in operations analogous to addition, subtraction, multiplication and division (and more). I need more than one operation of each type, i.e. more than one method of ...
5
votes
2answers
180 views
How do I mimic the functionality of “<>”?
The Cell expression for:
<>
is
Cell[BoxData["<>"], "Input"]
However similar expressions are parsed into RowBox(...
1
vote
0answers
214 views
Is there any way to define a new binary operator? [duplicate]
I am looking to define a new operator that would work similarly to the + or - operator. My end goal is to make a dice operator for calculating random distributions in the normal d20 fashion (e.g. 5d6 ...