PFLP is a library for probabilistic programming in the functional logic programming language Curry. The library is based on the ideas presented in the paper Probabilistic Functional Logic Programming.
First of all, make sure that your local package index is up-to-date.
You can then add
pflp as a dependency to your own package. If you're currently not working in a package, this command will add
pflp as a dependency to your distribution's home package instead. See the CPM manual for details.
cypm add --dependency pflp
Last but not least, you can install your package.
Afterwards, you should be able to import the library with the following import statement.
Download the source file
PFLP.curry located in the
src directory and put it into the same directory as your own source file. You can then import the library with the following import statement.