Stefan Karrmann

Probabilistic functional programing

The library PFP [1] is quite useful for stochastic analysis and simulation. I have extended it from the IO monad to abstract monads. I put it into a darcs [2]repository and add a Setup.lhs for Cabal [3]. Unfortunately, I do not know its legal state, so that I can only offer a patch [4] in the darcs [2] format.

Well, actually I do not know how to create a pure patch with darcs. I can only find ways to publish the whole repository in the documentation of darcs. Therefore, my patch [4] is a stripped down repository. The recipe to complete it is:

  1. mkdir pfp
  2. cd pfp
  3. Get PFP [1], my patch [4], and create-repo.sh [5].
  4. run create-repo.sh [5]

Now you have a regular darcs repository in import.


[1] Martin Erwig: http://web.engr.oregonstate.edu/~erwig/pfp/ Download: http://web.engr.oregonstate.edu/~erwig/pfp/pfp-jun06.tar.gz
[2] http://darcs.net
[3] http://www.haskell.org/haskellwiki/?title=Cabal
[4] http://home.arcor.de/s.ka/haskell/pfp/export_2006-07-17.tar.bz2 Signature: http://home.arcor.de/s.ka/haskell/pfp/export_2006-07-17.tar.bz2.asc Legal matters: Copyright (C) 2006 Stefan Karrmann, Only Rights given by the LGPL-2 are granted.
[5] http://home.arcor.de/s.ka/haskell/pfp/create-repo.sh Signature: http://home.arcor.de/s.ka/haskell/pfp/create-repo.sh.asc Legal matters: Copyright (C) 2006 Stefan Karrmann, Only Rights given by the LGPL-2 are granted.

Best viewed with any browser. Valid HTML 4.0! Check it! Valid CSS! Check it! Go To Project Gutenberg

Copyright © 2006 Stefan Karrmann, 2006-07-11.
All rights reserved.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Section, with no Front-Cover Texts, and with no Back-Cover Texts.
A copy (original) of the license is included.