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

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

Please see README.md.


[Skip to Readme]
Versions 0.1, 0.2, 0.2.1, 0.2.2, 0.3, 0.3.1
Dependencies base (>=4.7 && <5), distributed-closure (>=0.3), inline-java (==0.8.*), jni (>=0.4.0 && <0.7), jvm (>=0.4.0 && <0.5), jvm-batching (==0.1.*), singletons (>=2.2), streaming (>=0.1.4), vector [details]
License BSD-3-Clause
Copyright 2015-2016 EURL Tweag.
Author Tweag I/O
Maintainer m@tweag.io
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 Thu Mar 1 21:12:04 UTC 2018
Distributions LTSHaskell:0.3.1, NixOS:0.3.1
Downloads 1258 total (23 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2018-03-01 [all 3 reports]
Hackage Matrix CI

Modules

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

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for jvm-streaming-0.3.1

[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.