Facts 0.1 → 0.1.1
raw patch · 1 files changed
+5/−5 lines, 1 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Data.Numerals.Decimal: Eight :: DecimalDigit
+ Data.Numerals.Decimal: Five :: DecimalDigit
+ Data.Numerals.Decimal: Four :: DecimalDigit
+ Data.Numerals.Decimal: Nine :: DecimalDigit
+ Data.Numerals.Decimal: One :: DecimalDigit
+ Data.Numerals.Decimal: Seven :: DecimalDigit
+ Data.Numerals.Decimal: Six :: DecimalDigit
+ Data.Numerals.Decimal: Three :: DecimalDigit
+ Data.Numerals.Decimal: Two :: DecimalDigit
+ Data.Numerals.Decimal: Zero :: DecimalDigit
+ Data.Numerals.Decimal: data DecimalDigit
+ Data.Numerals.Decimal: decimal_digit_to_integral :: (Integral n) => DecimalDigit -> n
+ Data.Numerals.Decimal: digits_to_integral :: (Integral n) => [DecimalDigit] -> n
+ Data.Numerals.Decimal: instance Data DecimalDigit
+ Data.Numerals.Decimal: instance Enum DecimalDigit
+ Data.Numerals.Decimal: instance Eq DecimalDigit
+ Data.Numerals.Decimal: instance Ord DecimalDigit
+ Data.Numerals.Decimal: instance Show DecimalDigit
+ Data.Numerals.Decimal: instance Typeable DecimalDigit
+ Data.Numerals.Decimal: integral_to_digits :: (Integral n) => n -> [DecimalDigit]
+ Data.Numerals.Decimal: prop_decimal_digit_round_trip :: [DecimalDigit] -> Bool
+ Data.Numerals.Decimal: prop_positive_integral_round_trip :: (Integral n) => n -> Bool
+ Data.Numerals.Decimal: unsafe_integral_digit_to_decimal_digit :: (Integral n) => n -> DecimalDigit
Files
- Facts.cabal +5/−5
Facts.cabal view
@@ -1,6 +1,6 @@ cabal-version: >= 1.6 name: Facts-version: 0.1+version: 0.1.1 copyright: © 2010 2piix.com license: BSD3@@ -16,7 +16,7 @@ . As much of the data we are encoding is tabular, we use simple structures like lists and maps to encode the relations. This has two practical ramifications: the textual representation of the data can be very wide, but are also very easy to edit, with \"block editing\" tools like Vi's visual block mode. The other consequence is that the naive approach to writing queries can be tedious, and the resulting naive queries are slower than they could be. Template Haskell can eliminate much of this drudgery. Felipe Lessa has graciously donated some Template Haskell code which we have adapted. .- The Facts\.\* hierarchy currently contains modules with geographical information, such as a data type of countries, cross references to various ISO-3166-1 names for each, a list of states in the United States, and the United States address format. Please see the module hierarchy for more specifics. Patches are welcomed, though prospective contributors are encouraged to encode data structures using lists of pairs to encode bijections, all exposed data types are instances of 'Data', `Eq`, `Ord`, `Show`, and `Typeable`, and using explicit exports to only export queries and their input and output types and constructors. For now, we will add facts to the hierarchy lazily, as our projects need them.+ The Facts\.\* hierarchy currently contains modules with geographical information, such as a data type of countries, cross references to various ISO-3166-1 names for each, a list of states in the United States, and the United States address format. Please see the module hierarchy for more specifics. Patches are welcomed, though prospective contributors are encouraged to encode data structures using lists of pairs to encode bijections, all exposed data types are instances of 'Data', `Eq`, `Ord`, `Show`, and `Typeable`, and to use explicit exports to only export queries and their input and output types and constructors. For now, we will add facts to the hierarchy lazily, as our projects need them. tested-with: GHC ==6.12.1 build-type: Simple@@ -35,15 +35,15 @@ hs-source-dirs: src - exposed-modules: Facts.Geography.Continents+ exposed-modules: Data.Numerals.Decimal+ Facts.Geography.Continents Facts.Geography.Countries Facts.Geography.Countries.UnitedStates Facts.Geography.Countries.UnitedStates.Address Facts.Geography.Countries.UnitedStates.ZipCode Facts.Geography.Location - other-modules: Data.Numerals.Decimal- Facts.Geography.Countries.Internal.Data+ other-modules: Facts.Geography.Countries.Internal.Data Facts.Geography.Countries.Internal.Splices Facts.Geography.Countries.UnitedStates.Internal.Data Facts.Geography.Countries.UnitedStates.Internal.Splices