Comments (2)
(Imported comment by @dcoutts on 2006-01-20)
The Compiler abstraction should certainly be beefed up. I'm not sure we need to go as far as making a external serialised form.
Currently the Compiler value is passed around but is used as a bit of dumb data when it should really carry methods for doing interesting things and we should not be switching on the CompilerFlavour. The difficulty with doing this is that currently the Compiler value is passed around using the LocalBuildInfo which implements Show. We should really pass Compiler as a parameter but we cannot do that without changing the type signatures of the UserHooks which would break all custom Setup script again.
So we have to synchronise this change with our next planned break of UserHooks. Ideally that break should include a plan for an api style that does not involve so many breaks when we want to pass just a bit more info, like using some kind of monad where we can extend the environment without breaking existing code.
from cabal.
Doesn't seem like there is activity on this since 2006. I propose closing, please re-open a new issue if this is still desired.
from cabal.
Related Issues (20)
- No recompilation when using `addDependentFile` or `-fforce-recomp` in a build dependent package (stanza) HOT 2
- `cabal clean` should fail if not in a cabal directory
- Deprecate <target>-specific flags in favour of flags that will be applied to each component built. HOT 1
- --enable-executable-profiling seems non-functional HOT 1
- cabal gen-bounds ignores project file HOT 6
- build-info make recipe leaking information about `HEAD`
- `cabal path foo` errors with ` 'man' doesn't take any extra arguments: foo` HOT 3
- Regression in 3.10 `cabal build`: the `extra-prog-path` ends up first in the PATH, shadowing `build-tools` HOT 5
- Leading blank spaces are confusing HOT 1
- Issue/PR relationship in cabal development are missing
- `haddock-project`, missing `--local` option
- cabal-install inconsistently looks through symlinks HOT 4
- cabal install: "exit code 11"? HOT 5
- GitLab CI: pkg-config missing in build environment
- "Make targetDir relative to current directory" often doesn't work
- Change in behaviour in HEAD w.r.t copying and installation of executables in packages with Custom setups HOT 2
- Report when `--with-cabal` path doesn't exist HOT 1
- Global flags are in the way HOT 2
- `cabal install Agda` fails in `Setup.hs` with `executable-dynamic: True` in config file (Linux, Windows) HOT 10
- Ignore validate generated files HOT 3
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 cabal.