ANN: monadic probabilistic functional programing
Dear all, the library PFP by Martin Erwig is quite useful for probabilistic calculations. I have extended it to abstract monads, cabal and darcs, confer [1]. I cannot find a licence or legal note on the page of Martin Erwig. Therefore, I can legally only publish a patch. Unfortunatly, darcs does not provide a method to extract patches as far as I know. (Hints are welcomed.) As a result you can download a stripped down version of my darcs repository from [1]. How to create the complete repository is there described, too. [1] http://home.arcor.de/s.ka/haskell/pfp.html Kind regards, -- Stefan Karrmann
On 7/19/06, Stefan Karrmann <S.Karrmann@web.de> wrote:
Unfortunatly, darcs does not provide a method to extract patches as far as I know. (Hints are welcomed.)
darcs diff and darcs annotate. -- Taral <taralx@gmail.com> "You can't prove anything." -- Gödel's Incompetence Theorem
Dear all, I have renamed all files. Because of this the darcs diff contains *all* source lines. Then it is not only a patch but also the complete original work. Moreover, the patch does not contain a move from or unlink of the old locations. Taral (Fri, Jul 21, 2006 at 11:22:22AM -0500):
On 7/19/06, Stefan Karrmann <S.Karrmann@web.de> wrote:
Unfortunatly, darcs does not provide a method to extract patches as far as I know. (Hints are welcomed.)
darcs diff and darcs annotate.
Regards, -- Stefan Karrmann
On Fri, Jul 21, 2006 at 10:26:04PM +0200, Stefan Karrmann wrote:
I have renamed all files. Because of this the darcs diff contains *all* source lines. Then it is not only a patch but also the complete original work. Moreover, the patch does not contain a move from or unlink of the old locations.
If the original code was already in a darcs repository, you can create a darcs patch bundle by 'darcs send'ing against a repository, which contains only the original patches. You do it like this: $ cd repository-with-your-extensions $ darcs send -o my.patchse original-repository Now if someone has an original repository, he/she can apply your patches in this repository. The patch bundle can still contain parts of the original work as parts of primitive patches. Best regards Tomasz
participants (3)
-
Stefan Karrmann -
Taral -
Tomasz Zielonka