using haskell java bridge