Include a closed source Haskell package in an open source Haskell package without leaking its code

77 Views Asked by At

I'm working on an open source Haskell package and I want to use a proprietary package of mine as a dependency without leaking its source code.

One way would be to compile it to a binary and call it via System.Process.callCommand, but this would be unnecessarily inefficient.

Is there another way to distribute the package in a binary format or at least strongly obfuscated?

0

There are 0 best solutions below