every-bit-counts-0.1: A functional pearl on encoding and decoding using question-and-answer strategies
STLC
data Ty Source
Constructors
Instances
data Exp Source
tyG :: Game TySource
type Env = [Ty]Source
typeOf :: Env -> Exp -> TySource
data Pat Source
matches :: Pat -> Ty -> BoolSource
varGame :: (Ty -> Bool) -> Env -> Maybe (Game Nat)Source
expGame :: Env -> Pat -> Game ExpSource
progGame :: Game ExpSource
expGameCheck :: Env -> Ty -> Game ExpSource
listsOfLength :: Int -> [[Bit]]Source