every-bit-counts-0.1: A functional pearl on encoding and decoding using question-and-answer strategies
Games
data Game whereSource
Constructors
data Bit Source
Instances
dec :: Game t -> [Bit] -> (t, [Bit])Source
decOpt :: Game t -> [Bit] -> Maybe (t, [Bit])Source
decRandAux :: RandomGen g => g -> Game t -> tSource
decRand :: Int -> Game t -> tSource
(+>) :: Game t -> ISO s t -> Game sSource
enc :: Game t -> t -> [Bit]Source
testGame :: Game t -> t -> (t, [Bit])Source