[Haskell-cafe] fmap and LaTeX

Henning Thielemann schlepptop at henning-thielemann.de
Fri Apr 8 14:23:26 CEST 2011


Mitar schrieb:
> Hi!
> 
> Is there for <$> (fmap) operator some nice looking symbol in mathematics, LaTeX?
> 
> I am looking here:
> 
> http://www.soi.city.ac.uk/~ross/papers/Applicative.html
> http://www.haskell.org/ghc/docs/6.12.1/html/libraries/base/Control-Applicative.html
> 
> but only for other operators there are nice symbols, and <$> is left as it is.
> 
> I have also tried \mathbin{<\$>} but it adds space around $ (at least
> in lhs2tex), so it looks ugly.

Does \langle\$\rangle look better for your taste?




More information about the Haskell-Cafe mailing list