base-unicode-symbols 0.2 → 0.2.1
raw patch · 2 files changed
+12/−6 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Control.Arrow.Unicode: (⁂) :: (Arrow ⇝) => (α ⇝ β) -> (α' ⇝ β') -> (α, α') ⇝ (β, β')
Files
- Control/Arrow/Unicode.hs +10/−2
- base-unicode-symbols.cabal +2/−4
Control/Arrow/Unicode.hs view
@@ -7,7 +7,7 @@ Maintainer : Roel van Dijk <vandijk.roel@gmail.com> -} -module Control.Arrow.Unicode ( (⋙), (⋘), (⧻), (⫴) ) where+module Control.Arrow.Unicode ( (⋙), (⋘), (⁂), (⧻), (⫴) ) where -------------------------------------------------------------------------------@@ -15,7 +15,7 @@ ------------------------------------------------------------------------------- -- from base:-import Control.Arrow ( ArrowChoice, (+++), (|||) )+import Control.Arrow ( Arrow, (***), ArrowChoice, (+++), (|||) ) import Data.Either ( Either ) -- from base-unicode-symbols@@ -26,6 +26,7 @@ -- Fixities ------------------------------------------------------------------------------- +infixr 3 ⁂ infixr 2 ⧻ infixr 2 ⫴ @@ -34,6 +35,13 @@ -- Symbols ------------------------------------------------------------------------------- +{-|+(⁂) = ('***')++U+2042, ASTERISM+-}+(⁂) ∷ Arrow (⇝) ⇒ (α ⇝ β) → (α' ⇝ β') → (α, α') ⇝ (β, β')+(⁂) = (***) {-| (⧻) = ('+++')
base-unicode-symbols.cabal view
@@ -1,5 +1,5 @@ name: base-unicode-symbols-version: 0.2+version: 0.2.1 cabal-version: >=1.6 build-type: Simple stability: provisional@@ -22,7 +22,7 @@ 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:+ 6.12.3 it provides the following alternatives: . * ∷ (U+2237, PROPORTION) instead of @::@ .@@ -33,8 +33,6 @@ * → (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. .