Staircase functions or piecewise constant functions

Version on this page:0.2@rev:3
LTS Haskell 19.8:0.2@rev:7
Stackage Nightly 2022-05-20:0.2@rev:7
Latest on Hackage:0.2@rev:7

See all snapshots step-function appears in

BSD-3-Clause licensed by Oleg Grenrus, Petter Bergman
Maintained by Oleg Grenrus
This version can be pinned in stack with:step-function-0.2@sha256:ea800ae9ef2c4a3880c7e9bb725dbaac9729824e32d4759acf9bfa6285e84729,2259


Step functions, staircase functions or piecewise constant functions.



Complete rewrite.

  • Uses ‘Map’ for the internal representation to be more effecient.
  • Added discrete variants.
  • GHC-8.4 support

  • Build with GHC 8.2.2

Build with GHC 8.0.1.

StepFunction is now an instance of Functor.

Build with ghc 7.8.4.

Documentation fixes.

First import of package.