roman-numerals 0.5.0 → 0.5.1
raw patch · 3 files changed
+12/−18 lines, 3 filesdep ~basePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base
API changes (from Hackage documentation)
Files
- LICENSE +1/−1
- Text/Numeral/Roman.hs +5/−6
- roman-numerals.cabal +6/−11
LICENSE view
@@ -1,4 +1,4 @@-Copyright (c) 2009 Roel van Dijk+Copyright 2009–2011 Roel van Dijk All rights reserved.
Text/Numeral/Roman.hs view
@@ -8,10 +8,9 @@ {-| Parsing and pretty printing of Roman numerals. This module provides functions for parsing and pretty printing Roman-numerals. Because the notation of Roman numerals has varied through the-centuries this package allows for some customisation using a configuration that-is passed to the conversion functions. Exceptions are dealt with by wrapping the-results of conversions in the error monad.+numerals. Because the notation of Roman numerals has varied through+the centuries this package allows for some customisation using a+configuration that is passed to the conversion functions. Example: @@ -88,11 +87,11 @@ -- from bytestring: import qualified Data.ByteString as BS ( ByteString , isPrefixOf- , drop, length, null + , drop, length, null ) import qualified Data.ByteString.Lazy as BSL ( ByteString , isPrefixOf- , drop, length, null + , drop, length, null ) -- from text:
roman-numerals.cabal view
@@ -1,11 +1,11 @@ name: roman-numerals-version: 0.5.0+version: 0.5.1 cabal-version: >= 1.6 build-type: Simple stability: stable author: Roel van Dijk <vandijk.roel@gmail.com> maintainer: Roel van Dijk <vandijk.roel@gmail.com>-copyright: (c) 2009–2010 Roel van Dijk+copyright: 2009–2011 Roel van Dijk license: BSD3 license-file: LICENSE category: Numerical, Parsing@@ -14,21 +14,16 @@ This library provides functions for parsing and pretty printing Roman numerals. Because the notation of Roman numerals has varied through the centuries this package allows for some customisation- using a configuration that is passed to the conversion- functions. Exceptions are dealt with by wrapping the results of- conversions in the error monad.+ using a configuration that is passed to the conversion functions. source-repository head- type: darcs- location: http://code.haskell.org/~roelvandijk/code/roman-numerals+ type: git+ location: git://github.com/roelvandijk/roman-numerals.git library- build-depends: base >= 3.0.3.1 && < 4.4+ build-depends: base >= 3.0.3.1 && < 4.5 , base-unicode-symbols >= 0.1.1 && < 0.3 , bytestring >= 0.9.1 && < 0.10 , text >= 0.11 && < 0.12 exposed-modules: Text.Numeral.Roman ghc-options: -Wall---