base-unicode-symbols: Unicode alternatives for common functions and operators

[ bsd3, library, unclassified ] [ Propose Tags ] [ Report a vulnerability ]

This package defines new symbols for a number of functions, operators and types 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, i.e. → instead of ->, ∀ instead of forall and many others.

Original idea by Péter Diviánszky.

[1] https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts.html#unicode-syntax


[Skip to Readme]

Flags

Automatic Flags
NameDescriptionDefault
old-base

Support for base < 3.0.3.1

Disabled
base-4-8

Support features of base >= 4.8.0.0

Enabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1, 0.1.1, 0.1.2, 0.1.2.1, 0.1.3, 0.1.4, 0.2, 0.2.1, 0.2.1.1, 0.2.1.2, 0.2.1.3, 0.2.1.4, 0.2.1.5, 0.2.2, 0.2.2.1, 0.2.2.2, 0.2.2.3, 0.2.2.4, 0.2.3, 0.2.4, 0.2.4.1, 0.2.4.2
Dependencies base (>=3.0 && <5) [details]
License BSD-3-Clause
Copyright 2009–2019 Roel van Dijk <roel@lambdacube.nl>
Author Roel van Dijk <roel@lambdacube.nl>
Maintainer Roel van Dijk <roel@lambdacube.nl>
Home page http://haskell.org/haskellwiki/Unicode-symbols
Bug tracker https://github.com/roelvandijk/base-unicode-symbols/issues
Source repo head: git clone git://github.com/roelvandijk/base-unicode-symbols.git
Uploaded by RoelVanDijk at 2019-07-10T11:35:38Z
Distributions Arch:0.2.4.2, Debian:0.2.4.2, Fedora:0.2.4.2, FreeBSD:0.2.2.4, LTSHaskell:0.2.4.2, NixOS:0.2.4.2, Stackage:0.2.4.2, openSUSE:0.2.4.2
Reverse Dependencies 97 direct, 8580 indirect [details]
Downloads 115971 total (230 in the last 30 days)
Rating 2.5 (votes: 3) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2019-07-10 [all 1 reports]

Readme for base-unicode-symbols-0.2.4.2

[back to package description]

This package defines Unicode symbol aliases for a number of functions and operators in the base package of the Haskell standard library. Many of these aliases enable the use of standard mathematical notation in place of ASCII approximations or textual names. For example, (∧) (U+2227 LOGICAL AND) can be used in place of (&&) for boolean AND.

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

Versus the UnicodeSyntax language extension

This library only provides Unicode aliases for library functions. If you want to use Unicode symbols for core language tokens, also enable the UnicodeSyntax language extension. This extension enables Unicode characters to be used to stand for certain ASCII character sequences, i.e. instead of ->, instead of forall and many others.

Credits

Original idea by Péter Diviánszky.