Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 829 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 829 Bytes

Bazel Java JNI Haskell

Bazel project showing Java calling Haskell via JNI.

bazel run //fibhs:main 10
bazel run //fibjava:main 10
...
fib(10) = 89

Notes

A few quirks made the Haskell stack quite sensitive to precise versions / configuration (Jul 23):

  • "The latest versions of attoparsec use an internal library, and when using the newest stackage snapshots, one needs to do extra configuration in the stack_snapshot rule." tweag/rules_haskell#1764
  • "fatal error: ghcplatform.h: No such file or directory" tweag/rules_haskell#1805
  • "The current version of Cabal has an issue causing the generated Paths_ files to miss the definition of splitFileName and minusFileName (See #1832)." tweag/rules_haskell#1871