base-unicode-symbols 0.1.1 → 0.1.2
raw patch · 10 files changed
+46/−37 lines, 10 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Data.List.Unicode: (⧺) :: [α] -> [α] -> [α]
+ Prelude.Unicode: (⧺) :: [α] -> [α] -> [α]
Files
- Control/Applicative/Unicode.hs +3/−3
- Control/Category/Unicode.hs +1/−1
- Data/Bool/Unicode.hs +3/−3
- Data/Eq/Unicode.hs +2/−2
- Data/Function/Unicode.hs +1/−1
- Data/List/Unicode.hs +15/−6
- Data/Monoid/Unicode.hs +4/−4
- Data/Ord/Unicode.hs +4/−4
- Prelude/Unicode.hs +7/−6
- base-unicode-symbols.cabal +6/−7
Control/Applicative/Unicode.hs view
@@ -19,15 +19,15 @@ -- Symbols ------------------------------------------------------------------------------- -{- |+{-| (⊛) = '<*>' U+229B, CIRCLED ASTERISK OPERATOR -} (⊛) ∷ Applicative f ⇒ f (α → β) → f α → f β (⊛) = (<*>)- -{- |++{-| (∅) = 'empty' U+2205, EMPTY SET
Control/Category/Unicode.hs view
@@ -17,7 +17,7 @@ -- Symbols ------------------------------------------------------------------------------- -{- |+{-| (∘) = ('.') U+2218, RING OPERATOR
Data/Bool/Unicode.hs view
@@ -18,7 +18,7 @@ -- Symbols ------------------------------------------------------------------------------- -{- |+{-| (¬) = 'not' U+00AC, NOT SIGN@@ -26,7 +26,7 @@ (¬) ∷ Bool → Bool (¬) = not -{- |+{-| (∧) = ('&&') U+2227, LOGICAL AND@@ -34,7 +34,7 @@ (∧) ∷ Bool → Bool → Bool (∧) = (&&) -{- |+{-| (∨) = ('||') U+2228, LOGICAL OR
Data/Eq/Unicode.hs view
@@ -19,7 +19,7 @@ -- Symbols ------------------------------------------------------------------------------- -{- |+{-| (≡) = ('==') U+2261, IDENTICAL TO@@ -27,7 +27,7 @@ (≡) ∷ Eq α ⇒ α → α → Bool (≡) = (==) -{- |+{-| (≢) = ('/=') U+2262, NOT IDENTICAL TO
Data/Function/Unicode.hs view
@@ -17,7 +17,7 @@ -- Symbols ------------------------------------------------------------------------------- -{- |+{-| (∘) = ('.') U+2218, RING OPERATOR
Data/List/Unicode.hs view
@@ -1,11 +1,11 @@ {-# LANGUAGE NoImplicitPrelude #-} {-# LANGUAGE UnicodeSyntax #-} -module Data.List.Unicode ( (∈), (∉), (∪), (∩) ) where+module Data.List.Unicode ( (⧺), (∈), (∉), (∪), (∩) ) where import Data.Bool ( Bool ) import Data.Eq ( Eq )-import Data.List ( elem, notElem , union, intersect )+import Data.List ( (++), elem, notElem, union, intersect ) -------------------------------------------------------------------------------@@ -14,13 +14,22 @@ infix 4 ∈ infix 4 ∉+infixr 5 ⧺ ------------------------------------------------------------------------------- -- Symbols ------------------------------------------------------------------------------- -{- |+{-|+(⧺) = ('++')++U+29FA, DOUBLE PLUS+-}+(⧺) ∷ [α] → [α] → [α]+(⧺) = (++)++{-| (∈) = 'elem' U+2208, ELEMENT OF@@ -28,7 +37,7 @@ (∈) ∷ Eq α ⇒ α → [α] → Bool (∈) = elem -{- |+{-| (∉) = 'notElem' U+2209, NOT AN ELEMENT OF@@ -36,7 +45,7 @@ (∉) ∷ Eq α ⇒ α → [α] → Bool (∉) = notElem -{- |+{-| (∪) = 'union' U+222A, UNION@@ -44,7 +53,7 @@ (∪) ∷ Eq α ⇒ [α] → [α] → [α] (∪) = union -{- |+{-| (∩) = 'intersect' U+2229, INTERSECTION
Data/Monoid/Unicode.hs view
@@ -1,9 +1,9 @@ {-# LANGUAGE NoImplicitPrelude #-} {-# LANGUAGE UnicodeSyntax #-} -module Data.Monoid.Unicode +module Data.Monoid.Unicode ( (∅)- , (⊕) + , (⊕) ) where import Data.Monoid ( Monoid, mempty, mappend )@@ -20,7 +20,7 @@ -- Symbols ------------------------------------------------------------------------------- -{- |+{-| (∅) = 'mempty' U+2205, EMPTY SET@@ -28,7 +28,7 @@ (∅) ∷ Monoid α ⇒ α (∅) = mempty -{- |+{-| (⊕) = 'mappend' U+2295, CIRCLED PLUS
Data/Ord/Unicode.hs view
@@ -21,7 +21,7 @@ -- Symbols ------------------------------------------------------------------------------- -{- |+{-| (≤) = ('<=') U+2264, LESS-THAN OR EQUAL TO@@ -29,7 +29,7 @@ (≤) ∷ Ord α ⇒ α → α → Bool (≤) = (<=) -{- |+{-| (≥) = ('>=') U+2265, GREATER-THAN OR EQUAL TO@@ -37,7 +37,7 @@ (≥) ∷ Ord α ⇒ α → α → Bool (≥) = (>=) -{- |+{-| (≮) = ('>=') U+226E, NOT LESS-THAN@@ -45,7 +45,7 @@ (≮) ∷ Ord α ⇒ α → α → Bool (≮) = (>=) -{- |+{-| (≯) = ('<=') U+226F, NOT GREATER-THAN
Prelude/Unicode.hs view
@@ -8,6 +8,7 @@ , π , (÷), (⋅) , (∘)+ , (⧺) , (∈), (∉) , (⊥) ) where@@ -15,11 +16,11 @@ import Data.Bool.Unicode ( (∧), (∨), (¬) ) import Data.Eq.Unicode ( (≡), (≢) ) import Data.Function.Unicode ( (∘) )-import Data.List.Unicode ( (∈), (∉) ) +import Data.List.Unicode ( (⧺), (∈), (∉) ) import Data.Ord.Unicode ( (≤), (≥), (≮), (≯) ) import Prelude ( Num, Floating, Fractional- , (/), (*), pi, undefined + , (/), (*), pi, undefined ) @@ -35,7 +36,7 @@ -- Symbols ------------------------------------------------------------------------------- -{- |+{-| π = 'pi' U+03C0, GREEK SMALL LETTER PI@@ -43,7 +44,7 @@ π ∷ Floating α ⇒ α π = pi -{- |+{-| (÷) = ('/') U+00F7, DIVISION SIGN@@ -51,7 +52,7 @@ (÷) ∷ Fractional α ⇒ α → α → α (÷) = (/) -{- |+{-| (⋅) = ('*') U+22C5, DOT OPERATOR@@ -59,7 +60,7 @@ (⋅) ∷ Num α ⇒ α → α → α (⋅) = (*) -{- |+{-| (⊥) = 'undefined' U+22A5, UP TACK
base-unicode-symbols.cabal view
@@ -1,25 +1,24 @@ name: base-unicode-symbols-version: 0.1.1+version: 0.1.2 cabal-version: >=1.6 build-type: Simple stability: experimental-author: Roel van Dijk-maintainer: vandijk.roel@gmail.com-copyright: (c) 2009 Roel van Dijk+author: Roel van Dijk <vandijk.roel@gmail.com>+maintainer: Roel van Dijk <vandijk.roel@gmail.com>+copyright: (c) 2009 Roel van Dijk <vandijk.roel@gmail.com> license: BSD3 license-file: LICENSE category: synopsis: Unicode alternatives for common functions and operators description:- 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.+ .+ Original idea by Péter Diviánszky. source-repository head type: darcs