Deprecated

jvm-batching

Provides batched marshalling of values between Java and Haskell.

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

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

See all snapshots jvm-batching appears in

BSD-3-Clause licensed by Tweag I/O
Maintained by [email protected]
This version can be pinned in stack with:jvm-batching-0.1.1@sha256:5f1a838296fa9e64ba809343028b64e964849e1ffc56a106effa8b8020542ea4,2080

Module documentation for 0.1.1

jvm-batching

Provides batched marshalling of values between Java and Haskell.

Using it as a dependency

Add jvm-batching to the list of dependencies in your .cabal file. Then edit the Setup.hs file to add the jvm-batching.jar to the classpath.

import Distribution.Simple
import Language.Java.Inline.Cabal
import qualified Language.Java.Batching.Jars

main = do
    jars <- Language.Java.Batching.Jars.getJars
    defaultMainWithHooks (addJarsToClasspath jars simpleUserHooks)

Add a custom-setup stanza to your .cabal file.

custom-setup
  setup-depends:
    base,
    Cabal,
    inline-java,
    jvm-batching

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.