Fix all the bugs within PPL Haskell binding. Now works well with PPL 1.0