base-unicode-symbols 0.2.1.5 → 0.2.2
raw patch · 2 files changed
+23/−6 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Prelude.Unicode: type ℚ = Ratio ℤ
+ Prelude.Unicode: type ℤ = Integer
Files
- Prelude/Unicode.hs +20/−3
- base-unicode-symbols.cabal +3/−3
Prelude/Unicode.hs view
@@ -17,6 +17,7 @@ , (⧺) , (∈), (∉) , (⊥)+ , ℤ, ℚ ) where @@ -25,9 +26,10 @@ ------------------------------------------------------------------------------- -- from base:-import Prelude ( Num, Floating, Fractional- , (/), (*), pi, undefined- )+import Data.Ratio ( Ratio )+import Prelude ( Num, Floating, Fractional, Integer+ , (/), (*), pi, undefined+ ) -- from base-unicode-symbols: import Data.Bool.Unicode ( (∧), (∨), (¬) )@@ -80,3 +82,18 @@ -} (⊥) ∷ α (⊥) = undefined+++-------------------------------------------------------------------------------+-- Types+-------------------------------------------------------------------------------++{-|+U+2124, DOUBLE-STRUCK CAPITAL Z+-}+type ℤ = Integer++{-|+U+2124, DOUBLE-STRUCK CAPITAL Q+-}+type ℚ = Ratio ℤ
base-unicode-symbols.cabal view
@@ -1,5 +1,5 @@ name: base-unicode-symbols-version: 0.2.1.5+version: 0.2.2 cabal-version: >=1.6 build-type: Simple stability: provisional@@ -13,8 +13,8 @@ homepage: http://haskell.org/haskellwiki/Unicode-symbols 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.+ 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