Skip to main content Accessibility help

A domain-specific language for experimental game theory


Experimental game theory is increasingly important for research in many fields. Unfortunately, it is poorly supported by computer tools. We have created Hagl, a domain-specific language embedded in Haskell, to reduce the development time of game-theoretic experiments and make the definition and exploration of games and strategies simple and fun.

Hide All
Axelrod, R. M. (1984) The Evolution of Cooperation. Basic Books.
Camerer, C. (2003) Behavioral Game Theory: Experiments in Strategic Interaction. Princeton University Press.
Erwig, M. & Walkingshaw, E. (2008) A Visual Language for Representing and Explaining Strategies in Game Theory. Pages 101–108 of: Bottoni, et al. (ed), IEEE Int. Symp. on Visual Language and Human-Centric Computing, Herrsching am Ammersee, Germany. Washington, DC: IEEE Computer Society.
Glasgow Haskell Compiler. (2004) The Glasgow Haskell compiler [online]. Available at: (Accessed 23 August 2009).
Kendall, G., Darwen, P. & Yao, X. (2005) The Prisoner's Dilemma competition [online]. Available at: (Accessed 23 August 2009).
Läufer, K. & Odersky, M. (1994) Polymorphic type inference and abstract data types, ACM Trans. Program. Lang. Syst., 16 (5): 14111430.
Straffin, P. D. (1993) Game Theory and Strategy. The Mathematical Association of America.
Recommend this journal

Email your librarian or administrator to recommend adding this journal to your organisation's collection.

Journal of Functional Programming
  • ISSN: 0956-7968
  • EISSN: 1469-7653
  • URL: /core/journals/journal-of-functional-programming
Please enter your name
Please enter a valid email address
Who would you like to send this to? *


Full text views

Total number of HTML views: 0
Total number of PDF views: 0 *
Loading metrics...

Abstract views

Total abstract views: 0 *
Loading metrics...

* Views captured on Cambridge Core between <date>. This data will be updated every 24 hours.

Usage data cannot currently be displayed

A domain-specific language for experimental game theory

Submit a response


No Discussions have been published for this article.


Reply to: Submit a response

Your details

Conflicting interests

Do you have any conflicting interests? *