packages feed

sparkle 0.1.0.1 → 0.2

raw patch · 5 files changed

+23/−3 lines, 5 filesdep ~base

Dependency ranges changed: base

Files

README.md view
@@ -87,6 +87,18 @@ Or use `--nix`: since it won't use your globally installed JDK, it will have no trouble finding its own locally installed one. +### Can't build sparkle on OS X++OS X is not a supported platform for now. There are several issues to+make sparkle work on OS X, tracked+[in this ticket](https://github.com/tweag/sparkle/issues/12).++### Gradle <= 2.12 incompatible with JDK 9++If you're using JDK 9, note that you'll need to either downgrade to+JDK 8 or update your Gradle version, since Gradle versions up to and+including 2.12 are not compatible with JDK 9.+ ## License  Copyright (c) 2015-2016 EURL Tweag.
build/libs/sparkle.jar view

binary file changed (11704 → 11704 bytes)

sparkle.cabal view
@@ -1,5 +1,5 @@ name:                sparkle-version:             0.1.0.1+version:             0.2 synopsis:            Distributed Apache Spark applications in Haskell description:         See README.md license:             BSD3
src/Control/Distributed/Spark/Context.hs view
@@ -52,8 +52,8 @@   res <- call sc "master" []   reify res -getOrCreate :: SparkConf -> IO SparkContext-getOrCreate cnf = do+getOrCreateSparkContext :: SparkConf -> IO SparkContext+getOrCreateSparkContext cnf = do   scalaCtx :: J ('Class "org.apache.spark.SparkContext") <-     callStatic (sing :: Sing "org.apache.spark.SparkContext") "getOrCreate" [coerce cnf] 
src/Control/Distributed/Spark/SQL/Context.hs view
@@ -2,6 +2,7 @@ {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE ScopedTypeVariables #-}  module Control.Distributed.Spark.SQL.Context where @@ -14,3 +15,10 @@  newSQLContext :: SparkContext -> IO SQLContext newSQLContext sc = new [coerce sc]++getOrCreateSQLContext :: SparkContext -> IO SQLContext+getOrCreateSQLContext jsc = do+  sc :: J ('Class "org.apache.spark.SparkContext") <- call jsc "sc" []+  callStatic (classOf (undefined :: SQLContext))+             "getOrCreate"+             [coerce sc]