- 15 May, 2004 1 commit
-
-
dons authored
Enable GHCi on OpenBSD 1. fix dlopen(NULL, ..) not working 2. set USE_MMAP to overcome malloc'd memory not being executable
-
- 12 May, 2004 2 commits
-
-
simonpj authored
Tidy-up only; behaviour unchanged
-
simonpj authored
--------------------------------- Another delicate fix to the way that the Dreaded Monomorpism Restriction is handled --------------------------------- I think this should merge nicely to the STABLE branch In TcSimplify 1.130 I changed tcSimplifyRestricted (used for declarations that fall under the monomorphism restriction) to use Plan C. Unfortunately, it later transpired that George Russel and Serge Mechveliani both made somewhat-dubious use of overlapping instances that conflicted with this change. Here's the example instance (HasBinary ty IO) => HasCodedValue ty foo :: HasCodedValue a => String -> IO a doDecodeIO :: HasCodedValue a => () -> () -> IO a doDecodeIO codedValue view = let { act = foo "" } in act You might think this should work becuase the call to 'foo' in the last line gives rise to a constraint (HasCodedValue t), which can be satisfied by the type sig for doDecodeIO. But the restricted binding act = ... calls tcSimplifyRestricted, and Plan C simplifies the constraint using the (rather bogus) instance declaration, and now we are stuffed. This commit implements Plan D, which is like plan B except that it does no improvement, and hence avoids plan B's flaw. See the comments with Plan D. The only criticism one might make of Plan D is that it may sometimes quantify a restricted binding over "too few" type variables; but one can solve that by adding a type sig. So this seems better than the very subtle problems with Plan C. All of this is very much at the margin: George and Sergey are pushing their luck.
-
- 11 May, 2004 2 commits
- 10 May, 2004 3 commits
-
-
simonmar authored
Fix mishandling of the BF_COMPACTED flag, which could lead to problems when using the compacting collector (+RTS -c, or +RTS -M<size>). In fact, I'm not sure how it worked at all. MERGE TO STABLE
-
simonmar authored
Hack to generate correct dependencies for the RTS. We now #define PROFILING, THREADED_RTS and DEBUG when generating dependencies so that we get (hopefully) a superset of all the deps.
-
simonmar authored
In multiple declaration errors, give the location of one of the declarations as the location of the error message, instead of the top-level of the file.
-
- 09 May, 2004 1 commit
-
-
panne authored
Documentation typos
-
- 08 May, 2004 2 commits
- 07 May, 2004 4 commits
-
-
panne authored
GCC's __attribute__ handling seems to be a little bit stricter with GCC 3.3.3: * When a function declaration uses it, the corresponding definition has to use it, too. * Syntactically it is allowed only at the beginning of the function definition. Let's hope that the current syntax is backwards compatible...
-
simonpj authored
--------------------------------- Make sure that GHCi loads all necessary orphan-instance modules --------------------------------- When you do :m A, we need to load any orphan-instance modules below A. That's easily done, but had been forgotten. Do not merge to stable: the fix is different there
-
simonpj authored
White space
-
simonmar authored
make a SrcSpan for the whole file that is not "unhelpful"
-
- 06 May, 2004 15 commits
-
-
simonpj authored
Report error in GHCi for unlifted bindings
-
simonpj authored
Make addSrcSpan ignore unhelpful spans
-
simonpj authored
Improve error handling for deriving(Typeable)
-
simonpj authored
Better location info
-
simonpj authored
Add ASSERT
-
simonpj authored
Use IfaceDeprecs synonym
-
simonpj authored
Fix (head []) value for src span in mkSimpleMatch
-
simonpj authored
White spacing only
-
simonpj authored
Put parens around binders in debug prints
-
simonpj authored
Remove dead comments
-
simonpj authored
Comments
-
wolfgang authored
Threaded RTS: Fix a deadlock situation The flag startingWorkerThread that is used by startSchedulerTaskIfNecessary (in Schedule.c) has to be reset if startTask (in Task.c) decides not to start another task after all (if a task is already waiting). When the flag isn't reset, this leads to a deadlock the next time a new worker thread is actually needed. MERGE TO STABLE
-
simonmar authored
whitespace
-
simonmar authored
Make this work with GHC 5.04.x, by slurping in rawSystem from the libraries.
-
simonmar authored
Move the definition of rawSystem into a separate file which we #include in the places it is needed. This is slightly better than copying the code, since we now need it in three places (ghc/utils/runghc is the 3rd).
-
- 05 May, 2004 9 commits
-
-
krasimir authored
The commit allows to build GHCi libraries in Windows Command Prompt
-
simonmar authored
Rearrange the -F/-pgmF documentation a bit.
-
simonpj authored
More about windows
-
simonmar authored
x-ref to Control.Concurrent from the -threaded docs.
-
ross authored
add a note about #def in hsc2hs
-
simonmar authored
Add the runghc program
-
simonmar authored
Document use of -I flag for finding FFI header files
-
simonmar authored
FAQ about missing include files when using -O/-prof
-
simonmar authored
Add dependencies on jadetex and tetex-dvips Noticed by: Jeff Lewis
-
- 04 May, 2004 1 commit
-
-
simonpj authored
More notes for Windows and MSYS
-