- 28 Sep, 2006 5 commits
-
-
Simon Marlow authored
-
Simon Marlow authored
Without jumping to line numbers or %-expansion, we could add that later.
-
Simon Marlow authored
-
Simon Marlow authored
-
Simon Marlow authored
-
- 14 Sep, 2006 1 commit
-
-
Andres Löh authored
-
- 15 Sep, 2006 1 commit
-
-
nr@eecs.harvard.edu authored
-
- 17 Sep, 2006 1 commit
-
-
rjmccall@gmail.com authored
Addresses ticket #197, which asks for escape sequences to be supported directly (i.e. not only in dquoted strings) on :load commands in GHCI. Fix modifies the toArgs function to parse its input like /bin/sh does, i.e. recognizing escapes anywhere and treating quoted strings as atomic chunks. Thus: :load a\ b c\"d e" "f would parse with three arguments, namely 'a b', 'c"d', and 'e f'. toArgs is used to parse arguments for both :load and :main, but doesn't appear to be used elsewhere. I see no harm in modifying both to be consistent -- in fact, the functionality is probably more useful for :main than for :load.
-
- 28 Sep, 2006 1 commit
-
-
Ian Lynagh authored
We were assuming we could multiply 2 32-bit numbers without overflowing a 64-bit number, but we can't as the top bit is the sign bit.
-
- 27 Sep, 2006 1 commit
-
-
Ian Lynagh authored
-
- 02 Sep, 2006 1 commit
-
-
Ian Lynagh authored
-
- 06 Sep, 2006 1 commit
-
-
Ian Lynagh authored
-
- 27 Sep, 2006 1 commit
-
-
simonpj@microsoft.com authored
-
- 26 Sep, 2006 1 commit
-
-
sof@galois.com authored
-
- 27 Sep, 2006 2 commits
-
-
Simon Marlow authored
-
Simon Marlow authored
You can say :set -fno-print-bind-result in GHCi to disable this behaviour. Addresses #887
-
- 06 Sep, 2006 1 commit
-
-
Ian Lynagh authored
-
- 02 Sep, 2006 1 commit
-
-
Ian Lynagh authored
-
- 08 Sep, 2006 1 commit
-
-
Simon Marlow authored
Right now we can only manage to add a source code link for the module, but that's better than nothing. I had to put the list of core packages in a Makefile variable, $(CorePackages), so we'll have to be careful to keep this up to date. (I could have slurped it out of libraries/core-packages with $(shell), but that's ugly and really slow on Windows). There are a couple of new tweakables: CorePackageSourceURL and ExtraPackageSourceURL in config.mk.in, set these to the appropriate patterns for generating source links. (when we merge this patch onto the HEAD we'll have to tweak these settings). Unfortunately it still doesn't work for all the modules, because modules compiled without -cpp don't get any #line directives. More hackery required...
-
- 26 Sep, 2006 1 commit
-
-
simonpj@microsoft.com authored
-
- 25 Sep, 2006 5 commits
-
-
Ian Lynagh authored
-
Ian Lynagh authored
I'm not sure if this is the example that was intended, but it's at least now consistent.
-
sof@galois.com authored
-
simonpj@microsoft.com authored
The newtype-deriving mechanism generates a HsSyn case expression looking like this case (d `cast` co) of { ... } That is, the case expression scrutinises a dictionary. This is otherwise never seen in HsSyn, and it made the desugarer (Check.get_unused_cons) crash in tcTyConAppTyCon. It would really be better to generate Core in TcInstDecls (the newtype deriving part) but I'm not going to do that today. Instead, I made Check.get_unused_cons a bit more robust. Audrey tried to fix this over the weekend, but her fix was, alas, utterly bogus, which caused mysterious failures later. I completely undid this change. Anyway it should work now!
-
Ian Lynagh authored
-
- 18 Sep, 2006 1 commit
-
-
bjorn@bringert.net authored
-
- 24 Sep, 2006 2 commits
-
-
audreyt@audreyt.org authored
Comment-only: Fix a typo, and note that the PredTy case on SplitTyConApp_maybe was added as a kluge.
-
audreyt@audreyt.org authored
such that this can compile again: newtype Moose = MkMoose () deriving (Eq, Ord)
-
- 23 Sep, 2006 12 commits
-
-
sven.panne@aedion.de authored
-
simonpj@microsoft.com authored
-
simonpj@microsoft.com authored
-
simonpj@microsoft.com authored
-
simonpj@microsoft.com authored
-
simonpj@microsoft.com authored
-
simonpj@microsoft.com authored
-
simonpj@microsoft.com authored
The newtype deriving mechanism is much trickier to support than it seems at first. Kevin didn't get it quite right when moving to FC, and I ended up re-writing quite a bit of it. I think it's right now, but I have not yet tested it thoroughly.
-
simonpj@microsoft.com authored
-
simonpj@microsoft.com authored
-
simonpj@microsoft.com authored
-
simonpj@microsoft.com authored
-