A Practical Liquidity-Sensitive Automated Market Maker implementation in Haskell (www.eecs.harvard.edu/cs286r/courses/fall12/papers/OPRS10.pdf)