packages feed

units-parser 0.1.0.0 → 0.1.0.1

raw patch · 2 files changed

+7/−6 lines, 2 filesnew-uploaderPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- Text.Parse.Units: instance [safe] (Show pre, Show u) => Show (UnitExp pre u)
- Text.Parse.Units: instance [safe] Show Op
- Text.Parse.Units: instance [safe] Show Token
- Text.Parse.Units: lex :: String -> Either ParseError [Token]
- Text.Parse.Units: prefixTable :: SymbolTable pre u -> PrefixTable pre
- Text.Parse.Units: unitStringParser :: UnitStringParser_UnitExp
- Text.Parse.Units: unitTable :: SymbolTable pre u -> UnitTable u
+ Text.Parse.Units: [prefixTable] :: SymbolTable pre u -> PrefixTable pre
+ Text.Parse.Units: [unitTable] :: SymbolTable pre u -> UnitTable u
+ Text.Parse.Units: instance (GHC.Show.Show pre, GHC.Show.Show u) => GHC.Show.Show (Text.Parse.Units.UnitExp pre u)
+ Text.Parse.Units: instance GHC.Show.Show Text.Parse.Units.Op
+ Text.Parse.Units: instance GHC.Show.Show Text.Parse.Units.Token

Files

Text/Parse/Units.hs view
@@ -1,5 +1,6 @@ {-# LANGUAGE LambdaCase, NoMonomorphismRestriction, FlexibleContexts, RankNTypes,              Safe #-}+{-# OPTIONS_HADDOCK prune #-}  ----------------------------------------------------------------------------- -- |@@ -40,8 +41,7 @@   SymbolTable(..), PrefixTable, UnitTable, mkSymbolTable,   unsafeMkSymbolTable, universalSymbolTable, -  -- * Testing only-  lex, unitStringParser+  lex, unitStringParser  -- these are pruned from the Haddock output   ) where  import Prelude hiding ( lex, div )
units-parser.cabal view
@@ -1,10 +1,10 @@ name:           units-parser-version:        0.1.0.0+version:        0.1.0.1 cabal-version:  >= 1.10 synopsis:       A parser for units of measure category:       Text-author:         Richard Eisenberg <eir@cis.upenn.edu>-maintainer:     Richard Eisenberg <eir@cis.upenn.edu>, Adam Gundry <adam@well-typed.com>+author:         Richard Eisenberg <rae@cs.brynmawr.edu>+maintainer:     Richard Eisenberg <rae@cs.brynmawr.edu>, Adam Gundry <adam@well-typed.com> bug-reports:    https://github.com/adamgundry/units-parser/issues stability:      experimental license:        BSD3@@ -45,5 +45,6 @@                   , syb >= 0.3                   , containers >= 0.4                   , parsec >= 3+  other-modules:    Text.Parse.Units -  ghc-options:        -O0 -Wall -Werror -main-is Tests.Parser+  ghc-options:        -O0 -Wall -main-is Tests.Parser