Usually, the list concatenation operator in Haskell is printed as overlapping double plus signs in books.
(In ASCII it is just ++)
How can I typeset this sign in Haskell (in and perhaps outside of math mode)?
What are other Haskell operators which could be typeset more beautiful in LaTeX?
Best Answer
I couldn’t find the symbol in
symbols
, but it is easy enough to define:This produces
If you use
xelatex
orlualatex
withunicode-math
, you can just write ⧺ (U+29FA DOUBLE PLUS) or its alias \doubleplus. This gives (with XITS fonts)