Deprecated

jvm-streaming

Expose Java iterators as streams from the streaming package.

http://github.com/tweag/inline-java/tree/master/jvm-streaming#readme

Version on this page:0.3.1
LTS Haskell 12.26:0.3.1
Stackage Nightly 2018-09-28:0.3.1
Latest on Hackage:0.4.0@rev:1

See all snapshots jvm-streaming appears in

BSD-3-Clause licensed by Tweag I/O
Maintained by [email protected]
This version can be pinned in stack with:jvm-streaming-0.3.1@sha256:a767d8b6551d70b0d9a9d1c5b6a1f6a754ce7addbac80837f610841ac8876103,1800

Module documentation for 0.3.1

jvm-streaming

Expose Java iterators as streams from the streaming package.

Using it as a dependency

Add jvm-streaming to the list of dependencies in your .cabal file. Then edit the Setup.hs file to add some necessary jars to the classpath.

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)

Add a 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.