Fix warning for unused function case.

Ignore-this: f4ac15fc2bbc57e83cfa7aea26ca5836

darcs-hash:20141112081605-4d2ae-1a80f1dbdc5f2f0f42e6a86c23ba0d4c4666982b
Remove unused module imports.

Ignore-this: 17894fe5a7808addd1914018a9b5aa65

darcs-hash:20141112082654-4d2ae-ca9442a0b691c2212979d604e5406a8e98173387
Fix defaulting of numeric type to use Int.

Ignore-this: 4964bc7d142e2b4e90abc15f5d8a2793

darcs-hash:20141112082929-4d2ae-82828c08fbc14f16f74cd45e54ecf181fedb2725
Remove unnecessary lambdas.

Ignore-this: f5c429b7dc49a9cf71040e9be861c4dc

darcs-hash:20141112083900-4d2ae-b98bcaf3643ef4b98251aef884153beee92cdef0
Cleanup code to reduce compiler and HLint warnings.

Ignore-this: 436575e78f073eee79f9c8727a75f09e

darcs-hash:20141112084518-4d2ae-51dba70efd26b07552ee972b4bb27c18e56a3b8c