Get the latest tech news

PFP: A Probabilistic Functional Programming Library for Haskell (2006)


Distributions can represent events, such as the roll of a die or the flip of a coin. For example, or example, the outcome of a die roll can be expressed as follows.

The probabilistic functional programming approach is based on a data type for representing distributions. The PFP library provides a set of function definitions that allow the declarative description and evaluation of probabilistic situations. For more information, please contact: Martin Erwig You can find a Czech translation of the top part of this page here(courtesy of Andrey Fomin).

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Haskell

Haskell

Photo of pfp

pfp

Related news:

News photo

Haskell, Reverse Polish Notation, and Parsing

News photo

Solving `Passport Application` with Haskell

News photo

Solving LinkedIn Queens Using Haskell