concept probability table in category haskell

appears as: probability tables
Get Programming with Haskell

This is an excerpt from Manning's book Get Programming with Haskell.

17.3.3. Practical Monoids—building probability tables

Now let’s look at a more practical problem you can solve with monoids. You’d like to create probability tables for events and have an easy way to combine them. You’ll start by looking at a simple table for a coin toss. You have only two events: getting heads or getting tails. Table 17.1 is your table.