[REFACTOR] use haskell-platform