packages feed

regexdot 0.11.0.0 → 0.11.0.1

raw patch · 3 files changed

+4/−2 lines, 3 files

Files

changelog view
@@ -33,3 +33,5 @@ 	* Reacted to new module-hierarchy, creation of new module "ToolShed.Data.List.Splits" and addition of method 'ToolShed.SelfValidate.getErrors', in toolshed-0.13.0.0, and used it to improved error-reporting in @instance Read RegExDot.RegEx.ExtendedRegEx@. 	* Minor reworking of 'RegExDot.Repeatable.repeatableParser'. 	* Replaced "System" with "System.Environment" and "System.Exit".+0.11.0.1+	* Added class 'Eq' to the context of 'RegExDot.RegEx.safeReciprocal', for migration to 'ghc-7.4'.
regexdot.cabal view
@@ -1,6 +1,6 @@ --Package-properties Name:			regexdot-Version:		0.11.0.0+Version:		0.11.0.1 Cabal-Version:		>= 1.6 Copyright:		(C) 2010 Dr. Alistair Ward License:		GPL
src/RegExDot/RegEx.hs view
@@ -1180,7 +1180,7 @@  	* CAVEAT: this is an awful concept, and therefore intended for internal use only. -}-safeReciprocal :: Fractional f => f -> f+safeReciprocal :: (Eq f, Fractional f) => f -> f safeReciprocal 0	= fromIntegral (maxBound :: Int)	--Handle divide-by-zero error. safeReciprocal f	= recip f