htirage-1.20170723: Equiprobable draw from publicly verifiable random data.
Htirage.Draw
Description
Tirages.
Synopsis
draw1 :: [a] -> [Bool] -> a Source #
draw1 xs bs retourne un choix parmi xs déterminé par l’entropie bs.
draw1 xs bs
xs
bs
drawMany :: [a] -> Integer -> [Bool] -> [a] Source #
drawMany xs k bs retourne k choix (sans répétition) parmi xs déterminés par l’entropie bs.
drawMany xs k bs
k