barbed wire parenthesis in LaTeX

282 Views Asked by At

How to typeset in LaTex barbed wire brackets as used to denote paramorphism in the paper "Functional Programming with Bananas, Lenses, Envelopes and Barbed Wire"?

1

There are 1 best solutions below

0
krokodil On BEST ANSWER

Using answers to this question I was able to come up with:

\DeclareMathOperator{\lbarb}{\mathrel{\ooalign{\hss(\hss\cr\{}}}
\DeclareMathOperator{\rbarb}{\mathrel{\ooalign{\hss)\hss\cr\}}}}