simple-expr: Minimalistic toolkit for simple mathematical expression.

[ bsd3, library, mathematics ] [ Propose Tags ] [ Report a vulnerability ]

This is a minimalistic toolkit for simple mathematical expression developed for debug purposes similar to simple-reflect package but based on slightly different principles. In particular, we use ordinary syntactic trees instead of turning them into strings.

There is a primitive manipulation capability like

>>> simplify $ (x + 0) * 1 - x * (3 - 2)
0

Besides an expression visualization feature is also provided.

See tutorial for details.

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.1.0, 0.2.0.0, 0.2.0.1, 0.2.0.2
Change log CHANGELOG.md
Dependencies base (>=4.19 && <5), combinatorial (<0.2), composition (<3), data-fix (<0.4), graphite (<0.11), graphviz (<2999.21), hashable (<1.6), mtl (<2.4), numhask (<0.14), Stream (<0.5), text (<2.2), unicode-show (<0.2), unordered-containers (<0.3), vector (<0.14), vector-sized (<1.7) [details]
Tested with ghc ==9.8.4, ghc ==9.10.3
License BSD-3-Clause
Copyright 2023-2025 Alexey Tochin
Author Alexey Tochin
Maintainer Alexey.Tochin@gmail.com
Uploaded by AlexeyTochin at 2025-11-23T12:29:09Z
Revised Revision 1 made by AlexeyTochin at 2026-06-22T15:46:35Z
Category Mathematics
Distributions LTSHaskell:0.1.1.0, Stackage:0.2.0.2
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 592 total (31 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]