Expose Java iterators as streams from the streaming package. http://github.com/tweag/inline-java/tree/master/jvm-streaming#readme
|Latest on Hackage:||0.3.2|
Expose Java iterators as streams from the streaming package.
Using it as a dependency
jvm-streaming to the list of dependencies in your .cabal file.
Then edit the
Setup.hs file to add some necessary jars to the
import Distribution.Simple import Language.Java.Inline.Cabal import qualified Language.Java.Streaming.Jars main = do jars <- Language.Java.Streaming.Jars.getJars defaultMainWithHooks (addJarsToClasspath jars simpleUserHooks)
custom-setup stanza to your .cabal file.
custom-setup setup-depends: base, Cabal >= 1.24, inline-java, jvm-streaming
Layout of source directories
This is a multi-language package. We use Maven’s standard directory layout to organize source code in multiple languages side-by-side.