Google-ai-haskell is a project mainly written in HASKELL and SHELL, it's free.
Haskell engine and base bots for google ai contest