Comments (2)
(Imported comment by @dcoutts on 2005-10-31)
Fix preprocessing for executables, and allow preprocessing of main
from cabal.
(Imported comment by @dcoutts on 2007-09-22)
This second patch has been committed to Cabal HEAD. Perhaps someone can test and confirm this as I've only tested one small example.
One actually needs to say:
Executable: Foo Main-is: Main.hsand it'll look for any suitable file that can be pre-processed into Main.hs, like Main.hsc for example.
from cabal.
Related Issues (20)
- Release GHC-9.10 aware cabal-install HOT 3
- Package fails to build with cabal-install 3.11 and GHC 8.0.2 where cabal-install 3.10.x worked HOT 7
- Cabal multi-repl doesn't consider ghc-options in cabal.project HOT 2
- Install project-local dev tools from Hackage HOT 3
- Community survey: Long-Term Support policy for cabal-install releases HOT 3
- Imported constraint edit not seen by cabal build HOT 1
- cabal says "does not match server, will redownload: file length mismatch" but does not redownload
- Disambiguate docs, `cabal` versus Cabal HOT 2
- Broken packages not detected by `ghc-pkg check` using Setup.hs (Gentoo Linux) HOT 2
- Unifying the various documentation flags under the `documentation:` stanza HOT 3
- Windows, foreign-library, Cabal-3.10.3.0 regression in linker HOT 4
- Fake package leaking when no `[TARGETS]`
- Make Setup a separate component
- Add support for logging handles in the Cabal library
- Hide cbits symbols via visibility attribute or compiler flag? HOT 1
- [Ubuntu] [3.12.0.0-prerelease] Semaphore does not exist HOT 16
- Split off `cabal get` command HOT 4
- Restructure finalCheckPackage, moving it earlier in the cabal-install pipeline
- `cabal exec` does not accept relative or absolute paths
- Cabal 3.12 objects to building foreign libraries on Mac where Cabal 3.10 worked. 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.