You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
integer-gmp implies gmp which is LGPL which means currently store cannot be used to statically link proprietary products.
It would be great if store could offer a flag to use integer-simple instead, like text (via its integer-simple flag) and cryptonite (via its integer-gmp flag) do.
Could somebody estimate how much effort it would be to write the code that currently uses import qualified GHC.Integer.GMP.Internals as I for integer-simple?
The text was updated successfully, but these errors were encountered:
@nh2 Hey, good idea! Probably pretty easy, though a little bit of boilerplate. Would be nice if the TH generation would work for it, but it is using unboxed types, so they'll need to be re-wrapped. So, for example, the definition of poke would probably be something like this untested / uncompiled code:
Currently
store
hard-depends oninteger-gmp
. Its.Internal
module is used.integer-gmp
impliesgmp
which is LGPL which means currentlystore
cannot be used to statically link proprietary products.It would be great if
store
could offer a flag to useinteger-simple
instead, liketext
(via itsinteger-simple
flag) andcryptonite
(via itsinteger-gmp
flag) do.Could somebody estimate how much effort it would be to write the code that currently uses
import qualified GHC.Integer.GMP.Internals as I
forinteger-simple
?The text was updated successfully, but these errors were encountered: