Git Product home page Git Product logo

adaptive's Introduction

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, [email protected]


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, [email protected]

adaptive's People

Contributors

carlssonia avatar spockz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.