Skip to content

Instantly share code, notes, and snippets.

{-# LANGUAGE DeriveFunctor #-}
{-# LANGUAGE DeriveFoldable #-}
{-# LANGUAGE DeriveTraversable #-}
{-# LANGUAGE LambdaCase #-}
module FreeChess where
-- Minimal “free” implementation, so we don't need an external
-- dependency. We only implement the bits we use (`Free`, `liftF`,