ChatMemebr: Fix shadowing
Add a repl example
Add flags to cabal config
Fix warnings