jvm-streaming: Expose Java iterators as streams from the streaming package.

[ bsd3, deprecated, ffi, java, jvm, library ] [ Propose Tags ]
Deprecated

The hackage package has been superseded by the github repository which builds with Bazel. Please see https://github.com/tweag/inline-java/tree/master/jvm-streaming#readme


[Skip to Readme]

Modules

[Last Documentation]

  • Language
    • Java
      • Language.Java.Streaming
        • Language.Java.Streaming.Jars

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1, 0.2, 0.2.1, 0.2.2, 0.3, 0.3.1, 0.3.2, 0.4.0
Dependencies base (>=4.7 && <5), distributed-closure (>=0.3), inline-java (>=0.10 && <0.11), jni (>=0.8.0 && <0.9), jvm (>=0.6.0 && <0.7), jvm-batching (>=0.2 && <0.3), singletons (>=2.6), streaming (>=0.1.4), vector [details]
License BSD-3-Clause
Copyright 2015-2016 EURL Tweag.
Author Tweag I/O
Maintainer m@tweag.io
Revised Revision 1 made by FacundoDominguez at 2021-05-04T15:02:19Z
Category FFI, JVM, Java
Home page http://github.com/tweag/inline-java/tree/master/jvm-streaming#readme
Source repo head: git clone https://github.com/tweag/inline-java(jvm-streaming)
Uploaded by FacundoDominguez at 2020-11-30T14:50:48Z
Distributions
Reverse Dependencies 2 direct, 0 indirect [details]
Downloads 4587 total (21 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2020-11-30 [all 3 reports]

Readme for jvm-streaming-0.4.0

[back to package description]

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.