Compilation fix

Code fails to compile without Eq context in functions from Choose.hs