-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Lift ByteString instances #330
Comments
See also bennofs/th-lift-instances#23 Is this feature worth to incur an additional dependency on |
Yes. |
Thanks for the explanation, very convincing. Given poor compatibility between releases of Not that I have a set-in-stone attitude against it, I just do not use |
Lifting of embedFile :: FilePath -> Q Exp
embedFile fp =
#if MIN_VERSION_template_haskell(2,7,0)
qAddDependentFile fp >>
#endif
(runIO $ B.readFile fp) >>= bsToExp
Similar function is in
That is not different from problems |
OK, makes sense. |
This required adding exception to get orphan instance. Hopefully it will be added to bytestring proper haskell/bytestring#330
This required adding exception to get orphan instance. Hopefully it will be added to bytestring proper haskell/bytestring#330
See e.g. https://hackage.haskell.org/package/th-lift-instances-0.1.18/docs/src/Instances.TH.Lift.html#line-267
The text was updated successfully, but these errors were encountered: