packages feed

prednote 0.28.0.0 → 0.28.0.2

raw patch · 7 files changed

+13/−10 lines, 7 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

changelog view
@@ -1,3 +1,7 @@+0.28.0.2++  * Documentation fixes.+ 0.28.0.0   * Completely new API and internals; is simpler and allows     for predicates on sum types.
genCabal.hs view
@@ -7,7 +7,7 @@ import qualified Cartel as C  versionInts :: [Int]-versionInts = [0,28,0,0]+versionInts = [0,28,0,2]  base :: C.Package base = C.closedOpen "base" [4,5,0,0] [5]
lib/Prednote.hs view
@@ -9,9 +9,8 @@ -- > import qualified Prednote as P -- > import Prednote ((|||), (&&&)) ----- For more documentation, first see "Prednote.Prebuilt", and then--- "Prednote.Comparisons" and then "Prednote.Expressions".  You will--- need "Prednote.Core" only if you want to tinker under the hood.+-- For more documentation, first see "Prednote.Core", and then+-- "Prednote.Comparisons" and then "Prednote.Expressions". module Prednote   ( module Prednote.Comparisons   , module Prednote.Expressions
lib/Prednote/Comparisons.hs view
@@ -159,7 +159,7 @@   -- ^ Right-hand side    -> Pred a-lessEq r = addLabel "less than or equal to" $ less r ||| equal r+lessEq r = less r ||| equal r  notEq   :: (Show a, Eq a)
lib/Prednote/Core.hs view
@@ -244,7 +244,7 @@ -- the user.  The label is added to the top 'Pred' in the tree; any -- existing labels are also retained.  Labels that were added last -- will be printed first.  For an example of this, see the source code--- for 'any' and 'all' or the source code for "Prednote.Comparisons".+-- for 'any' and 'all'. addLabel :: Text -> Pred a -> Pred a addLabel s (Pred f) = Pred f'   where
lib/Prednote/Expressions.hs view
@@ -1,6 +1,6 @@ {-# LANGUAGE OverloadedStrings #-} --- | Handles parsing of both infix and RPN Predbox expressions.+-- | Handles parsing of both infix and RPN 'Pred' expressions. module Prednote.Expressions   ( ExprDesc(..)   , Error@@ -27,7 +27,7 @@  type Error = X.Text --- | Creates Operands from Predbox.+-- | Creates Operands from 'Pred'. operand :: Pred a -> Token a operand p = Token (I.TokRPN (R.TokOperand p)) 
prednote.cabal view
@@ -3,10 +3,10 @@ -- http://www.github.com/massysett/cartel -- -- Script name used to generate: genCabal.hs--- Generated on: 2015-01-11 23:24:28.641108 EST+-- Generated on: 2015-01-12 07:59:16.893944 EST -- Cartel library version: 0.10.0.2 name: prednote-version: 0.28.0.0+version: 0.28.0.2 cabal-version: >= 1.14 build-type: Simple license: BSD3