Improve haskell api
Update idea-version