Adaptive: Library for incremental computing.

[ algorithms, bsd3, library, program ] [ Propose Tags ]

This is a Haskell (plus some extensions) implementation of a library for incremental computing. It closely follows the implementation in the nice POPL 2002 paper "Adaptive Functional Programming", by Umut Acar, Guy Blelloch and Bob Harper.


[Skip to Readme]

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

  • No Candidates
Versions [RSS] 0.1, 0.22, 0.23
Change log ChangeLog
Dependencies base, haskell98 (<2) [details]
License BSD-3-Clause
Author Magnus Carlsson
Maintainer Magnus Carlsson <magnus@galois.com>
Revised Revision 1 made by HerbertValerioRiedel at 2016-01-29T13:05:45Z
Uploaded by PeterJonsson at 2008-07-23T17:13:44Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables spreadsheet
Downloads 4024 total (12 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]

Readme for Adaptive-0.22

[back to package description]
Adaptive version 0.22 2008-07-14
================================

This is a minor update to Adaptive version 0.21 to make it work with
recent versions of GHC and Hugs. Adaptive is now cabalized, and any
problems with the packaging is my fault, not Magnus.

Peter A. Jonsson, pj@csee.ltu.se


Adaptive version 0.21  2005-07-09
=================================

This is a Haskell (plus some extensions) implementation of a library
for incremental computing.  It closely follows the implementation in
the nice POPL 2002 paper "Adaptive Functional Programming", by Umut
Acar, Guy Blelloch and Bob Harper.  As of writing, their paper can be
found at

      http://ttic.uchicago.edu/~umut/papers/popl02.html

However, this Haskell library provides a monadic interface, which
doesn't need the "write" operation or the "destination" type.  In
addition, the monadic types enforce correct usage, which means that a
modifiable variable must be defined before it can be used.  This is
achieved within Haskell's type system plus some popular extensions
(multi-parameter classes and functional dependencies).

The library is parameterised over any monad that has references (such
as IO and ST).  This means that it should be possible to put it on top
of e.g. many GUI monads too.

There is a small demo program of a classical incremental computation
problem: a spreadsheet.  Try it by typing

   runhugs -98 spreadsheet.hs

and type, say 

  c0 <Return> Cell c1 <Return> c1 <Return> Const 42 <Return>.

This has been tested with the Hugs September 2006 version.

Feedback is welcome!

Magnus Carlsson, magnus@galois.com