Home:ALL Converter>Include a closed source Haskell package in an open source Haskell package without leaking its code

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

Ask Time:2021-11-30T00:57:49         Author:adius

Json Formatter

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?

Author:adius,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/70158413/include-a-closed-source-haskell-package-in-an-open-source-haskell-package-withou
yy