- 07 Feb, 2011 1 commit
-
-
Ian Lynagh authored
-
- 01 Feb, 2011 1 commit
-
-
Simon Marlow authored
It is still (silently) accepted for backwards compatibility.
-
- 28 Jan, 2011 1 commit
-
-
simonpj@microsoft.com authored
-
- 27 Jan, 2011 1 commit
-
-
simonpj@microsoft.com authored
The changes are: * New flag -fwarn-incomplete-uni-patterns, which checks for incomplete patterns in (a) lambdas, (b) pattern bindings * New flag is not implied by -W or -Wall (too noisy; and many libraries use incomplete pattern bindings) * Actually do the incomplete-pattern check for pattern bindings (previously simply omitted) * Documentation for new flag
-
- 17 Jan, 2011 1 commit
-
-
Ian Lynagh authored
-
- 15 Jan, 2011 1 commit
-
-
Ian Lynagh authored
We no longer use dummy-ghc; instead we don't configure most packages until the stage1 compiler is available. We also now use Cabal for building the ghc-bin package. There are a couple more sanity checks too.
-
- 06 Jan, 2011 3 commits
-
-
Ian Lynagh authored
cygwin's /bin/install doesn't set file modes correctly if the destination path is a C: style path: $ /bin/install -c -m 644 foo /cygdrive/c/cygwin/home/ian/foo2 $ /bin/install -c -m 644 foo c:/cygwin/home/ian/foo3 $ ls -l foo* -rw-r--r-- 1 ian None 0 2011-01-06 18:28 foo -rw-r--r-- 1 ian None 0 2011-01-06 18:29 foo2 -rwxrwxrwx 1 ian None 0 2011-01-06 18:29 foo3 This causes problems for bindisttest/checkBinaries.sh which then thinks that e.g. the userguide HTML files are binaries. We therefore use a /cygdrive path if we are on cygwin
-
Ian Lynagh authored
-
Simon Marlow authored
-
- 05 Nov, 2010 1 commit
-
-
vivian authored
This patch adds support for multiline commands in GHCi. The first line of input is lexed. If there is an active layout context once the lexer reaches the end of file, the user is prompted for more input. Multiline input is exited by an empty line and can be escaped with a user interrupt. Multiline mode is toggled with `:set +m`
-
- 18 Dec, 2010 1 commit
-
-
Ian Lynagh authored
-
- 17 Dec, 2010 1 commit
-
-
Ian Lynagh authored
It doesn't do anything useful yet, but it works with the new build system
-
- 16 Dec, 2010 1 commit
-
-
Simon Marlow authored
-
- 09 Dec, 2010 3 commits
- 15 Dec, 2010 1 commit
-
-
Simon Marlow authored
This patch makes two changes to the way stacks are managed: 1. The stack is now stored in a separate object from the TSO. This means that it is easier to replace the stack object for a thread when the stack overflows or underflows; we don't have to leave behind the old TSO as an indirection any more. Consequently, we can remove ThreadRelocated and deRefTSO(), which were a pain. This is obviously the right thing, but the last time I tried to do it it made performance worse. This time I seem to have cracked it. 2. Stacks are now represented as a chain of chunks, rather than a single monolithic object. The big advantage here is that individual chunks are marked clean or dirty according to whether they contain pointers to the young generation, and the GC can avoid traversing clean stack chunks during a young-generation collection. This means that programs with deep stacks will see a big saving in GC overhead when using the default GC settings. A secondary advantage is that there is much less copying involved as the stack grows. Programs that quickly grow a deep stack will see big improvements. In some ways the implementation is simpler, as nothing special needs to be done to reclaim stack as the stack shrinks (the GC just recovers the dead stack chunks). On the other hand, we have to manage stack underflow between chunks, so there's a new stack frame (UNDERFLOW_FRAME), and we now have separate TSO and STACK objects. The total amount of code is probably about the same as before. There are new RTS flags: -ki<size> Sets the initial thread stack size (default 1k) Egs: -ki4k -ki2m -kc<size> Sets the stack chunk size (default 32k) -kb<size> Sets the stack chunk buffer size (default 1k) -ki was previously called just -k, and the old name is still accepted for backwards compatibility. These new options are documented.
-
- 14 Dec, 2010 2 commits
-
-
simonpj@microsoft.com authored
This satisfies Trac #3877. Documentation is changed too. I'm not sure if this should go in 7.0.2.
-
simonpj@microsoft.com authored
When we have TypeSynonymInstances without FlexibleInstances we should still insist on a H98-style instance head, after looking through the synonym. This patch also make FlexibleInstances imply TypeSynonymInstances. Anything else is a bit awkward, and not very useful.
-
- 01 Dec, 2010 3 commits
-
-
Ian Lynagh authored
The extension was rejected by Haskell', and deprecated in 7.0.
-
Simon Marlow authored
-
Simon Marlow authored
-
- 26 Nov, 2010 1 commit
-
-
Simon Marlow authored
-
- 27 Nov, 2010 1 commit
-
-
rl@cse.unsw.edu.au authored
-
- 23 Nov, 2010 1 commit
-
-
Ian Lynagh authored
They are no longer right, as we have Haskell' generating new Haskell standards.
-
- 17 Nov, 2010 2 commits
-
-
simonpj@microsoft.com authored
This is a really useful new facility, but I'd forgotten to document it. Pls merge to 7.0 branch
-
simonpj@microsoft.com authored
This patch forces bang patterns to be monomorphic, and documents this fact.
-
- 16 Nov, 2010 3 commits
-
-
simonpj@microsoft.com authored
-
simonpj@microsoft.com authored
-
simonpj@microsoft.com authored
See Trac #4488. The basic idea is to check for fun :: ty -> ty where fun is one of toIntegerName toRationalName fromIntegralName realToFracName There's a (documented) flag to control it -fwarn-identities. Currently -Wall switches it on.
-
- 15 Nov, 2010 1 commit
-
-
simonpj@microsoft.com authored
-
- 14 Nov, 2010 2 commits
-
-
Ian Lynagh authored
They said: (NOTE: not supported since GHC 4.x. Please ask if you're interested in this.)
-
Ian Lynagh authored
-
- 13 Oct, 2010 1 commit
-
-
Simon Marlow authored
-
- 22 Oct, 2010 1 commit
-
-
simonpj@microsoft.com authored
There are two main changes * New LANGUAGE option RebindableSyntax, which implies NoImplicitPrelude * if-the-else becomes rebindable, with function name "ifThenElse" (but case expressions are unaffected) Thanks to Sam Anklesaria for doing most of the work here
-
- 20 Oct, 2010 2 commits
-
-
Simon Marlow authored
-
Simon Marlow authored
-
- 10 Oct, 2010 1 commit
-
-
Neil Mitchell authored
Update the documentation on using DLL's from Windows, fixing several errors, in particular those relating to bug 3605
-
- 18 Oct, 2010 1 commit
-
-
Simon Marlow authored
-
- 15 Oct, 2010 1 commit
-
-
Ian Lynagh authored
It's on by default (which matches the previous behaviour). Motivation: GLUT on OS X needs to run on the main thread. If you try to use it from another thread then you just get a white rectangle rendered. For this, or anything else with such restrictions, you can turn the GHCi sandbox off and things will be run in the main thread.
-