prednote: Build and evaluate trees of predicates

[ bsd3, data, library ] [ Propose Tags ]

Build and evaluate trees of predicates. For example, you might build a predicate of the type Int -> Bool. You do this by assembling several predicates into a tree. You can then verbosely evaluate this tree, showing why a particular result is reached.

prednote also provides modules to test several subjects against a given predicate, and to parse infix or RPN expressions into a tree of predicates.


[Skip to Readme]

Modules

[Last Documentation]

  • Data
    • Prednote
      • Data.Prednote.Expressions
        • Data.Prednote.Expressions.Infix
        • Data.Prednote.Expressions.RPN
      • Data.Prednote.Pdct
      • Data.Prednote.Test

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.2.0.0, 0.4.0.0, 0.6.0.0, 0.8.0.0, 0.10.0.0, 0.12.0.0, 0.14.0.0, 0.16.0.0, 0.18.0.0, 0.18.0.4, 0.20.0.0, 0.22.0.0, 0.22.0.2, 0.24.0.0, 0.24.2.0, 0.26.0.0, 0.26.0.2, 0.26.0.4, 0.28.0.0, 0.28.0.2, 0.30.0.0, 0.32.0.0, 0.32.0.4, 0.32.0.6, 0.34.0.0, 0.36.0.0, 0.36.0.2, 0.36.0.4
Dependencies base (>=4.5.0.0 && <5), contravariant (>=0.2.0.1), rainbow (>=0.6.0.4), split (>=0.2.2), text (>=0.11.2.0) [details]
License BSD-3-Clause
Copyright 2013-2014 Omari Norman
Author Omari Norman
Maintainer omari@smileystation.com
Category Data
Home page http://github.com/massysett/prednote
Source repo head: git clone git://github.com/massysett/prednote.git
Uploaded by OmariNorman at 2014-03-01T19:49:37Z
Distributions
Reverse Dependencies 5 direct, 0 indirect [details]
Downloads 20800 total (74 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-12-18 [all 6 reports]

Readme for prednote-0.20.0.0

[back to package description]

prednote

prednote helps you build a tree of predicates that you can apply to a list of items. It was written for Penny:

http://www.github.com/massysett/penny

but I also find it useful for dapi:

http://www.github.com/massysett/dapi

and so you might find it useful too.

prednote is on Github:

http://www.github.com/massysett/prednote

and Hackage:

http://hackage.haskell.org/package/prednote

prednote is licensed under the BSD license; see the LICENSE file.

Versioning

prednote releases are numbered in accordance with the Haskell Package Versioning Policy.

prednote does not set its dependencies in accordance with the Package Versioning Policy, as I do not set upper bounds. prednote is guaranteed to build with the minimum versions specified in the cabal file. I also include a dependencies.txt file that documents more recent dependencies that are also known to work.

If you find that prednote does not build due to dependency problems:

  1. please let me know at omari@smileystation.com; 2) feel free to add appropriate upper bounds or patches to the package as appropriate; and 3) feel free to add command-line contraints to your cabal command to get it to build.