Numeric.Probability.Example.MontyHall

data Door

doors

data State

start

hide

choose

open

type Strategy

switch

stay

game

Playing the game

data Outcome

result

eval

simEval

Alternative modeling

firstChoice

switch'

Play the game the monadic way

type StrategyM

stayM

switchM

evalM