packages feed

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 view
@@ -19,15 +19,15 @@ -- Symbols ------------------------------------------------------------------------------- -{- |+{-| (&#x229B;) = '<*>'  U+229B, CIRCLED ASTERISK OPERATOR -} (⊛) ∷ Applicative f ⇒ f (α → β) → f α → f β (⊛) = (<*>)-    -{- |++{-| (&#x2205;) = 'empty'  U+2205, EMPTY SET
Control/Category/Unicode.hs view
@@ -17,7 +17,7 @@ -- Symbols ------------------------------------------------------------------------------- -{- |+{-| (&#x2218;) = ('.')  U+2218, RING OPERATOR
Data/Bool/Unicode.hs view
@@ -18,7 +18,7 @@ -- Symbols ------------------------------------------------------------------------------- -{- |+{-| (&#x00AC;) = 'not'  U+00AC, NOT SIGN@@ -26,7 +26,7 @@ (¬) ∷ Bool → Bool (¬) = not -{- |+{-| (&#x2227;) = ('&&')  U+2227, LOGICAL AND@@ -34,7 +34,7 @@ (∧) ∷ Bool → Bool → Bool (∧) = (&&) -{- |+{-| (&#x2228;) = ('||')  U+2228, LOGICAL OR
Data/Eq/Unicode.hs view
@@ -19,7 +19,7 @@ -- Symbols ------------------------------------------------------------------------------- -{- |+{-| (&#x2261;) = ('==')  U+2261, IDENTICAL TO@@ -27,7 +27,7 @@ (≡) ∷ Eq α ⇒ α → α → Bool (≡) = (==) -{- |+{-| (&#x2262;) = ('/=')  U+2262, NOT IDENTICAL TO
Data/Function/Unicode.hs view
@@ -17,7 +17,7 @@ -- Symbols ------------------------------------------------------------------------------- -{- |+{-| (&#x2218;) = ('.')  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 ------------------------------------------------------------------------------- -{- |+{-|+(&#x29FA;) = ('++')++U+29FA, DOUBLE PLUS+-}+(⧺) ∷ [α] → [α] → [α]+(⧺) = (++)++{-| (&#x2208;) = 'elem'  U+2208, ELEMENT OF@@ -28,7 +37,7 @@ (∈) ∷ Eq α ⇒ α → [α] → Bool (∈) = elem -{- |+{-| (&#x2209;) = 'notElem'  U+2209, NOT AN ELEMENT OF@@ -36,7 +45,7 @@ (∉) ∷ Eq α ⇒ α → [α] → Bool (∉) = notElem -{- |+{-| (&#x222A;) = 'union'  U+222A, UNION@@ -44,7 +53,7 @@ (∪) ∷ Eq α ⇒ [α] → [α] → [α] (∪) = union -{- |+{-| (&#x2229;) = '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 ------------------------------------------------------------------------------- -{- |+{-| (&#x2205;) = 'mempty'  U+2205, EMPTY SET@@ -28,7 +28,7 @@ (∅) ∷ Monoid α ⇒ α (∅) = mempty -{- |+{-| (&#x2295;) = 'mappend'  U+2295, CIRCLED PLUS
Data/Ord/Unicode.hs view
@@ -21,7 +21,7 @@ -- Symbols ------------------------------------------------------------------------------- -{- |+{-| (&#x2264;) = ('<=')  U+2264, LESS-THAN OR EQUAL TO@@ -29,7 +29,7 @@ (≤) ∷ Ord α ⇒ α → α → Bool (≤) = (<=) -{- |+{-| (&#x2265;) = ('>=')  U+2265, GREATER-THAN OR EQUAL TO@@ -37,7 +37,7 @@ (≥) ∷ Ord α ⇒ α → α → Bool (≥) = (>=) -{- |+{-| (&#x226E;) = ('>=')  U+226E, NOT LESS-THAN@@ -45,7 +45,7 @@ (≮) ∷ Ord α ⇒ α → α → Bool (≮) = (>=) -{- |+{-| (&#x226F;) = ('<=')  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 ------------------------------------------------------------------------------- -{- |+{-| &#x03C0; = 'pi'  U+03C0, GREEK SMALL LETTER PI@@ -43,7 +44,7 @@ π ∷ Floating α ⇒ α π = pi -{- |+{-| (&#x00F7;) = ('/')  U+00F7, DIVISION SIGN@@ -51,7 +52,7 @@ (÷) ∷ Fractional α ⇒ α → α → α (÷) = (/) -{- |+{-| (&#x22C5;) = ('*')  U+22C5, DOT OPERATOR@@ -59,7 +60,7 @@ (⋅) ∷ Num α ⇒ α → α → α (⋅) = (*) -{- |+{-| (&#x22A5;) = '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&#xE9;ter Divi&#xE1;nszky.  source-repository head   type:     darcs