Comments (6)
Seems to be caused by this bug. I'm investigating.
from charsetdetect-ae.
@Fuuzetsu: okay, I don't know how to fix it. Whenever GHC tries to compile a module with TH, it tries to load charsetdetect, which then fails due to the static linking problems. GHC will try to load charsetdetect even if the module structure is like this:
{-# LANGUAGE TemplateHaskell #-}
module A where
import B (blah)
<something which uses TH>
module B where
import Codec.Text.Detect
blah = ... detectEncoding ...
which precludes moving writeFile
, etc. into a separate module inside yi-rope, or moving them from yi-rope into yi.
I asked on SO, but I doubt there'll be a solution.
from charsetdetect-ae.
I have bumped the Trac ticket mentioned earlier but I don't have very high hopes.
Do you know if any other libraries on Hackage provide similar functionality to this?
from charsetdetect-ae.
Do you know if any other libraries on Hackage provide similar functionality to this?
Not to my knowledge (I've just finished checking all libraries Hackage has to offer which mention “charset” or “encoding”).
from charsetdetect-ae.
OK, we're going to employ CPP to bypass detection on 7.6.3. I don't know whether this should be WONTFIX or what.
from charsetdetect-ae.
Fixed thanks to this answer! I've uploaded a new version (1.0.1) on Hackage.
from charsetdetect-ae.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from charsetdetect-ae.