I should tell it took me considerable endeavour to work how to utilise the constituent of Haskell 's chance library that covers with entropy and simulation. The intuition developed by programming in imperative languages is especially harmful here. The paper on which the library is based references a map `` pick , which chooses exactly one value from a distribution by randomly affording one of the values according to the stipulated chances ''. Great, permit 's endeavor that out and flip... read more