every-bit-counts-0.1: A functional pearl on encoding and decoding using question-and-answer strategies

BasicGames

Documentation

sumGame :: Game t -> Game s -> Game (Either t s)Source

prodGame :: Game t -> Game s -> Game (t, s)Source

ilGame :: Game t -> Game s -> Game (t, s)Source

depGame :: Game t -> (t -> Game s) -> Game (t, s)Source

vecGame :: Game t -> Nat -> Game [t]Source