|
Re: Text.ParserCombinators.Parsec requires -package text.: msg#00035lang.haskell.glasgow.bugs
SimonM: > > So you're proposing that -package options should *always* be required? Why is it necessary to provide -package options at all? ghc-pkg knows about all the packages in your system so it could just implicitly add -package $x for every package when compiling or linking. When would you ever want to omit a package that you have installed on your system? I can only think of two cases: 1) You want to check that your program can be compiled on a system with just packages x, y and z installed. 2) You are the developer of package x and are developing/testing a new version. It seems like these could be handled by providing flags to change the default behaviour: -no-std-packages Clear the list of packages - you must specify them all explicitly. -without-package x Omit x from the list of packages -- Alastair Reid
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: Text.ParserCombinators.Parsec requires -package text., Simon Marlow |
|---|---|
| Next by Date: | RE: Text.ParserCombinators.Parsec requires -package text., Simon Peyton-Jones |
| Previous by Thread: | Re: Text.ParserCombinators.Parsec requires -package text., George Russell |
| Next by Thread: | Re: Text.ParserCombinators.Parsec requires -package text., George Russell |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |