Distribute Haskell's proprietary / proprietary source using STG

After reading such questions as the Haskell Native Library and considering that GHC does not fully support binary compatibility between even small versions, I wonder if STG (or Core or similar) can be used as a means to distribute confusing (i.e., "Almost binary ") own libraries, which can then be compiled into machine code at the final stage?

I know that STG was not intended for this, but the idea seems neat.

+4
source share

Source: https://habr.com/ru/post/1613738/


All Articles