@hackage base-unicode-symbols0.1.3

Unicode alternatives for common functions and operators

This package defines new symbols for a number of functions and operators in the base package.

All symbols are documented with their actual definition and information regarding their Unicode code point. They should be completely interchangeable with their definitions.

For further Unicode goodness you can enable the UnicodeSyntax language extension \[1\]. This extension enables Unicode characters to be used to stand for certain ASCII character sequences. For GHC 6.12.1 it provides the following alternatives:

  • ∷ (U+2237, PROPORTION) instead of ::

  • ⇒ (U+21D2, RIGHTWARDS DOUBLE ARROW) instead of =>

  • ∀ (U+2200, FOR ALL) instead of forall

  • → (U+2192, RIGHTWARDS ARROW) instead of ->

  • ← (U+2190, LEFTWARDS ARROW) instead of <-

  • ⋯ (U+22EF, MIDLINE HORIZONTAL ELLIPSIS) instead of ..

Original idea by Péter Diviánszky.

\[1\] http://www.haskell.org/ghc/docs/latest/html/users_guide/syntax-extns.html#unicode-syntax