simonpj [Thu, 12 Jul 2001 16:21:24 +0000 (16:21 +0000)]
[project @ 2001-07-12 16:21:22 by simonpj]
--------------------------------------------
Fix another bug in the squash-newtypes story.
--------------------------------------------
[This one was spotted by Marcin, and is now enshrined in test tc130.]
The desugarer straddles the boundary between the type checker and
Core, so it sometimes needs to look through newtypes/implicit parameters
and sometimes not. This is really a bit painful, but I can't think of
a better way to do it.
The only simple way to fix things was to pass a bit more type
information in the HsExpr type, from the type checker to the desugarer.
That led to the non-local changes you can see.
On the way I fixed one other thing. In various HsSyn constructors
there is a Type that is bogus (bottom) before the type checker, and
filled in with a real type by the type checker. In one place it was
a (Maybe Type) which was Nothing before, and (Just ty) afterwards.
I've defined a type synonym HsTypes.PostTcType for this, and a named
bottom value HsTypes.placeHolderType to use when you want the bottom
value.
simonpj [Thu, 12 Jul 2001 14:51:28 +0000 (14:51 +0000)]
[project @ 2001-07-12 14:51:28 by simonpj]
Fix the module import story to match what the Revised
Haskell Report says
1. Don't import qualified names of things that aren't imported
2. Fix a bug that meant
import A hiding( D )
where D is a data constructor, didn't work.
[The fix is to use IEVar not IEThingAbs in the
want_hiding case of get_item in RnNames.filterImports
rrt [Thu, 12 Jul 2001 13:32:25 +0000 (13:32 +0000)]
[project @ 2001-07-12 13:32:25 by rrt]
Rewire so that hsc.c files get built as part of cbits library.
rrt [Thu, 12 Jul 2001 12:59:48 +0000 (12:59 +0000)]
[project @ 2001-07-12 12:59:48 by rrt]
Fix spacing
rrt [Thu, 12 Jul 2001 12:58:39 +0000 (12:58 +0000)]
[project @ 2001-07-12 12:58:39 by rrt]
Two fixes:
1. Don't emit "native" any more.
2. Add import of mscorlib to the start of every output file.
rrt [Thu, 12 Jul 2001 10:37:55 +0000 (10:37 +0000)]
[project @ 2001-07-12 10:37:55 by rrt]
Change access to errorHdrHook back into a foreign label (this is now
supported by the NCG, or should be, and in any case, we don't build
HSstd with the NCG).
rrt [Thu, 12 Jul 2001 10:34:54 +0000 (10:34 +0000)]
[project @ 2001-07-12 10:34:54 by rrt]
Remove addrOf_ErrorHdrHook, as the NCG now can (or should) cope with
foreign labels, and in any case, we don't use the NCG to build the
standard library.
The motivation for this fix is preventing HSstd_cbits depending on the
RTS, so that it can be built as a DLL (for .NET) without needing to
get the RTS built as a DLL (that way lies madness).
sof [Wed, 11 Jul 2001 22:47:32 +0000 (22:47 +0000)]
[project @ 2001-07-11 22:47:32 by sof]
Append final newline to _stub.{c,h} output
sof [Wed, 11 Jul 2001 19:48:07 +0000 (19:48 +0000)]
[project @ 2001-07-11 19:48:07 by sof]
Prev commit which tried to get rid of the 'ineffective CPP'
stage broke an invariant/assumption made by DriverPipeline.genPipeline,
I'm afraid.
The invariant being that from the input filename to a compilation
pipeline, the start stage/phase can be uniquely determined
(via DriverPhases.startPhase). run_phase no longer guarantees
this, its result filename may now be equal to the input filename.
[This resulted in -M not working properly when -cpp wasn't also used].
Patch this up by having the input filename to a compilation pipeline
stage be tagged with the assumed suffix of the output. This is
really just papering over the cracks, the proper way to tidy this
up is to avoid having to do the two-stage compilation pipeline in
Main.main.compileFile, i.e., reconsider how OPTIONS pragmas are
handled. I decided not to try to do this now for fear of destabilising
HEAD even further.
sof [Wed, 11 Jul 2001 14:51:49 +0000 (14:51 +0000)]
[project @ 2001-07-11 14:51:49 by sof]
runSomething: don't export it
sof [Wed, 11 Jul 2001 14:50:49 +0000 (14:50 +0000)]
[project @ 2001-07-11 14:50:49 by sof]
run_phase: added tysig
rrt [Wed, 11 Jul 2001 13:24:25 +0000 (13:24 +0000)]
[project @ 2001-07-11 13:24:24 by rrt]
Replace GhcLibToolsHcOpts with FptoolsHcOpts, and make it apply to all
programs in fptools, not just the hslibs tools. Now there's a way of
controlling compiler flags to all programs in the tree, so
a) by default all utilities should be optimised (before this was only done
for one or two like hsc2hs)
b) if you're doing development work, you can get everything built quicker by
setting FptoolsHcOpts appropriately
rrt [Wed, 11 Jul 2001 13:10:31 +0000 (13:10 +0000)]
[project @ 2001-07-11 13:10:31 by rrt]
Don't add -O here; should be up to the user
rrt [Wed, 11 Jul 2001 11:01:59 +0000 (11:01 +0000)]
[project @ 2001-07-11 11:01:59 by rrt]
Make ghc-pkg find its path on Windows
rrt [Wed, 11 Jul 2001 10:20:43 +0000 (10:20 +0000)]
[project @ 2001-07-11 10:20:43 by rrt]
Fix spacing bogon.
rrt [Wed, 11 Jul 2001 10:17:51 +0000 (10:17 +0000)]
[project @ 2001-07-11 10:17:51 by rrt]
Rewrite getExecDir to use GetModuleFileName on Windows (thanks, sof),
and switch unDosifyPath's definitions between Windows and Unix so that
it actually does something on Windows.
sof [Wed, 11 Jul 2001 01:27:04 +0000 (01:27 +0000)]
[project @ 2001-07-11 01:27:04 by sof]
Do away with that 'ineffective CPP' malarkey. run_phase now returns
the FilePath of its output file; in the event CPP isn't required,
we then just return the input file. (The extra LINE pragma that
the 'ineffective CPP' inserted was a NOP).
Appears to speed things up a bit; mingw/Win32 builds no longer need to
do a slow copyFile operation - other plats are saved from doing a
System.system call.
BTW, there's an opportunity to shorten the critical path for .hs files
some in the driver: at the moment 'unlit' is run over all input.
sof [Wed, 11 Jul 2001 00:13:22 +0000 (00:13 +0000)]
[project @ 2001-07-11 00:13:22 by sof]
Avoid needless redefn of HAVE_ALLOCA
rrt [Tue, 10 Jul 2001 14:25:24 +0000 (14:25 +0000)]
[project @ 2001-07-10 14:25:24 by rrt]
Add win32 package for Windows ghc.
rrt [Tue, 10 Jul 2001 14:23:36 +0000 (14:23 +0000)]
[project @ 2001-07-10 14:23:36 by rrt]
Rewrite getExecDir with Win32Registry calls. Duh.
simonpj [Tue, 10 Jul 2001 11:32:28 +0000 (11:32 +0000)]
[project @ 2001-07-10 11:32:28 by simonpj]
Two bug-fixes to the new newtype story
1. Be consistent about using TcType (not Type) in the
typechecker. There was an odd function in TcMType that
used splitTyConApp instead of tcSplitTyConApp, which
resulted in bogus error messages
2. TcType.isTauTy should not look through SourceTy
rrt [Tue, 10 Jul 2001 11:23:43 +0000 (11:23 +0000)]
[project @ 2001-07-10 11:23:43 by rrt]
Make getExecDir work on Windows by reading the registry
rrt [Tue, 10 Jul 2001 11:22:15 +0000 (11:22 +0000)]
[project @ 2001-07-10 11:22:15 by rrt]
ie -> i.e.
rrt [Tue, 10 Jul 2001 11:21:05 +0000 (11:21 +0000)]
[project @ 2001-07-10 11:21:05 by rrt]
Fix jade detection on Windows for jades that don't understand Unix paths
sof [Mon, 9 Jul 2001 19:45:16 +0000 (19:45 +0000)]
[project @ 2001-07-09 19:45:16 by sof]
Hmm..are the Cambridge offices running low on oxygen? Desloppified to make stage2 work again
sof [Mon, 9 Jul 2001 19:09:39 +0000 (19:09 +0000)]
[project @ 2001-07-09 19:09:39 by sof]
Undo prev. commit, it was just plain wrong
sof [Mon, 9 Jul 2001 17:44:08 +0000 (17:44 +0000)]
[project @ 2001-07-09 17:44:08 by sof]
-- 'hybrid' support for DOS-style paths in directory lists.
--
-- That is, if "foo:bar:baz" is used, this interpreted as
-- consisting of three entries, 'foo', 'bar', 'baz'.
-- However, with "c:/foo:c:\\foo;x:/bar", this is interpreted
-- as four elts, "c:/foo", "c:\\foo", "x", and "/bar" --
-- *provided* c:/foo exists and x:/bar doesn't.
--
-- Notice that no attempt is made to fully replace the 'standard'
-- split marker ':' with the Windows / DOS one, ';'. The reason being
-- that this will cause too much breakage for users & ':' will
-- work fine even with DOS paths, if you're not insisting on being silly.
-- So, use either.
sof [Mon, 9 Jul 2001 16:30:50 +0000 (16:30 +0000)]
[project @ 2001-07-09 16:30:50 by sof]
get rid off gcc warning
sewardj [Mon, 9 Jul 2001 13:21:09 +0000 (13:21 +0000)]
[project @ 2001-07-09 13:21:09 by sewardj]
Zap another ghc_411_at_least.
simonmar [Mon, 9 Jul 2001 10:46:46 +0000 (10:46 +0000)]
[project @ 2001-07-09 10:46:46 by simonmar]
Change the test for whether to include GHCi support in the compiler to
be closer to "are we bootstrapping with the same compiler".
simonmar [Mon, 9 Jul 2001 08:24:08 +0000 (08:24 +0000)]
[project @ 2001-07-09 08:24:08 by simonmar]
oops: I changed the names of some of the GC stubs, and didn't realise they
were mentioned here too.
sof [Sun, 8 Jul 2001 17:04:04 +0000 (17:04 +0000)]
[project @ 2001-07-08 17:04:04 by sof]
getTimes: fix Win95 fallback
rrt [Fri, 6 Jul 2001 15:39:47 +0000 (15:39 +0000)]
[project @ 2001-07-06 15:39:47 by rrt]
Fix path for Windows jade
simonmar [Fri, 6 Jul 2001 14:18:53 +0000 (14:18 +0000)]
[project @ 2001-07-06 14:18:53 by simonmar]
Add test for broken takeMVar/putMVar in 5.00.2.
Bug reported by Greg Mildenhall <gregm@pc-121.cs.uwa.edu.au> on
comp.lang.functional..
rrt [Fri, 6 Jul 2001 14:15:50 +0000 (14:15 +0000)]
[project @ 2001-07-06 14:15:50 by rrt]
lib/gcc-lib -> gcc-lib
simonmar [Fri, 6 Jul 2001 14:11:38 +0000 (14:11 +0000)]
[project @ 2001-07-06 14:11:38 by simonmar]
Fix a couple of nasty bugs in the take/putMVar implementation.
Now we keep the invariant that a full MVar only has blocked putMVars
on its queue, and an empty MVar only has blocked takeMVars on its
queue. It was the absence of this invariant that led to accidental
deadlock before.
The second bug is that there was a window between a blocked thread
being restarted and it actually retrying the takeMVar/putMVar
operation when it could receive an exception, which would also lead to
deadlock.
The solution to both these problems (as suggested by Simon P.J.) is to
atomically wake up and perform the next blocked putMVar when we do a
take, and vice versa. As a side effect, takeMVar & putMVar should be
much faster when blocking & restarting, because we now shortcut the
retrying of the blocked operation and we use a more specialised stack
layout for the blocked thread. Unfortunately, things got more
complicated too, but there are comments explaining what's going on.
apt [Fri, 6 Jul 2001 14:05:14 +0000 (14:05 +0000)]
[project @ 2001-07-06 14:05:14 by apt]
fix eqType bug
rrt [Fri, 6 Jul 2001 10:53:04 +0000 (10:53 +0000)]
[project @ 2001-07-06 10:53:04 by rrt]
New version for GHC 5
rrt [Thu, 5 Jul 2001 13:52:40 +0000 (13:52 +0000)]
[project @ 2001-07-05 13:52:40 by rrt]
Final stage of the PACKAGE oopsathon, or else...
sewardj [Thu, 5 Jul 2001 13:31:10 +0000 (13:31 +0000)]
[project @ 2001-07-05 13:31:09 by sewardj]
Changes to nuke RAWCPP.
rrt [Thu, 5 Jul 2001 13:01:16 +0000 (13:01 +0000)]
[project @ 2001-07-05 13:01:14 by rrt]
Change HSLIB to PACKAGE and HSLIB_DEPS to PACKAGE_DEPS, which makes more
sense. Also unbreaks the build system, in an arse-about-face sort of way
(or, if you prefer, cart-before-horse).
simonpj [Thu, 5 Jul 2001 08:55:29 +0000 (08:55 +0000)]
[project @ 2001-07-05 08:55:29 by simonpj]
Correct spelling in error message
rrt [Wed, 4 Jul 2001 16:55:48 +0000 (16:55 +0000)]
[project @ 2001-07-04 16:55:48 by rrt]
Only use -package-name when in a package
rrt [Wed, 4 Jul 2001 16:29:36 +0000 (16:29 +0000)]
[project @ 2001-07-04 16:29:35 by rrt]
Move -package-name and -package flag setting up a level
simonpj [Wed, 4 Jul 2001 15:52:24 +0000 (15:52 +0000)]
[project @ 2001-07-04 15:52:24 by simonpj]
Add notes
simonpj [Wed, 4 Jul 2001 15:51:23 +0000 (15:51 +0000)]
[project @ 2001-07-04 15:51:23 by simonpj]
Add comments; and copy system.c on demand rather than via make boot
simonmar [Wed, 4 Jul 2001 15:43:38 +0000 (15:43 +0000)]
[project @ 2001-07-04 15:43:38 by simonmar]
Only print out the GHCi banner when verbosity >= 1, so you can omit
the banner with -v0 (useful for tests where you don't want the GHC
version number appearing in the output).
sewardj [Wed, 4 Jul 2001 11:46:37 +0000 (11:46 +0000)]
[project @ 2001-07-04 11:46:37 by sewardj]
Scummy hacks to make GMP configure ok for mingw.
-- Copy files instead of symlinking them.
-- Allow correct detection of the ld used with gcc, so that
that ar rather than the Windows LIB program is used.
simonmar [Wed, 4 Jul 2001 11:06:02 +0000 (11:06 +0000)]
[project @ 2001-07-04 11:06:02 by simonmar]
Allow .hi-boot files to be demand-loaded even in
interactive/make mode, and fix a wibble.
rrt [Wed, 4 Jul 2001 10:58:37 +0000 (10:58 +0000)]
[project @ 2001-07-04 10:58:37 by rrt]
gcc-2.95.3-4 for mingw accepts -mwin32, so allow it
sewardj [Wed, 4 Jul 2001 09:18:38 +0000 (09:18 +0000)]
[project @ 2001-07-04 09:18:38 by sewardj]
Un-break on Unix.
rrt [Tue, 3 Jul 2001 17:07:52 +0000 (17:07 +0000)]
[project @ 2001-07-03 17:07:52 by rrt]
Kill --enable-minimal-unix-deps (now == mingw32) and emit an error if a
Cygwin compiler is detected.
sewardj [Tue, 3 Jul 2001 16:57:03 +0000 (16:57 +0000)]
[project @ 2001-07-03 16:57:03 by sewardj]
Plumb top-level --with-gcc=... value around the place.
rrt [Tue, 3 Jul 2001 16:52:45 +0000 (16:52 +0000)]
[project @ 2001-07-03 16:52:45 by rrt]
Allow child process to inherit parent's handles.
rrt [Tue, 3 Jul 2001 16:46:21 +0000 (16:46 +0000)]
[project @ 2001-07-03 16:46:21 by rrt]
Get rid of MinimalUnixDeps (now == mingwin)
rrt [Tue, 3 Jul 2001 16:45:15 +0000 (16:45 +0000)]
[project @ 2001-07-03 16:45:15 by rrt]
Quote -D args on Unix
rrt [Tue, 3 Jul 2001 16:26:03 +0000 (16:26 +0000)]
[project @ 2001-07-03 16:26:03 by rrt]
Clarify and refine, for a smoother texture
simonpj [Tue, 3 Jul 2001 14:53:35 +0000 (14:53 +0000)]
[project @ 2001-07-03 14:53:35 by simonpj]
Dump package info only for -v3
simonmar [Tue, 3 Jul 2001 11:14:33 +0000 (11:14 +0000)]
[project @ 2001-07-03 11:14:33 by simonmar]
Better exit with a failure code in ghc --make if something went wrong...
rrt [Mon, 2 Jul 2001 18:05:10 +0000 (18:05 +0000)]
[project @ 2001-07-02 18:05:10 by rrt]
Print out the long long GC_tot_alloc separately to avoid printf bogons
on mingwin.
rrt [Mon, 2 Jul 2001 13:52:10 +0000 (13:52 +0000)]
[project @ 2001-07-02 13:52:10 by rrt]
Fix up properly not to use _WIN32.
rrt [Mon, 2 Jul 2001 13:08:49 +0000 (13:08 +0000)]
[project @ 2001-07-02 13:08:49 by rrt]
Don't use _WIN32; use mingw32_TARGET_OS and cygwin32_TARGET_OS
instead.
rrt [Mon, 2 Jul 2001 13:02:29 +0000 (13:02 +0000)]
[project @ 2001-07-02 13:02:29 by rrt]
Don't use _WIN32, use mingw32_TARGET_OS and cygwin32_TARGET_OS.
simonmar [Mon, 2 Jul 2001 12:00:44 +0000 (12:00 +0000)]
[project @ 2001-07-02 12:00:44 by simonmar]
oops, cut-n-paste removed tabs
simonmar [Mon, 2 Jul 2001 10:08:52 +0000 (10:08 +0000)]
[project @ 2001-07-02 10:08:52 by simonmar]
The hc-file bundle should contain the .hs files generated from .hsc
files because of a chicken-egg problem with building hsc2hs.
qrczak [Sat, 30 Jun 2001 22:57:20 +0000 (22:57 +0000)]
[project @ 2001-06-30 22:57:20 by qrczak]
Don't add leading space to libdir (was harmful for drivers).
Don't add $(ProjectNameShort)-$(ProjectVersion) to libdir if
$(ProjectNameShort) is empty; I hope it's correct.
simonmar [Sat, 30 Jun 2001 11:21:12 +0000 (11:21 +0000)]
[project @ 2001-06-30 11:21:12 by simonmar]
sigh, the split script broke due to changes in gcc on FreeBSD (again).
sof [Sat, 30 Jun 2001 00:12:52 +0000 (00:12 +0000)]
[project @ 2001-06-30 00:12:52 by sof]
FPTOOLS_CC_FLAG: Save and restore CFLAGS
sof [Sat, 30 Jun 2001 00:00:49 +0000 (00:00 +0000)]
[project @ 2001-06-30 00:00:49 by sof]
Tidy up the handling of -mno-cygwin.
sewardj [Fri, 29 Jun 2001 16:58:06 +0000 (16:58 +0000)]
[project @ 2001-06-29 16:58:06 by sewardj]
Test for mingw32_TARGET_OS and cygwin32_TARGET_OS instead of WIN32.
sewardj [Fri, 29 Jun 2001 16:17:28 +0000 (16:17 +0000)]
[project @ 2001-06-29 16:17:28 by sewardj]
Let the PEi386 machinery recognise .rodata sections.
simonmar [Fri, 29 Jun 2001 15:37:52 +0000 (15:37 +0000)]
[project @ 2001-06-29 15:37:52 by simonmar]
The "Warning: deleting non-existent foo" message should only be
printed in verbose mode.
simonmar [Fri, 29 Jun 2001 15:30:49 +0000 (15:30 +0000)]
[project @ 2001-06-29 15:30:49 by simonmar]
reformat & add a comment
simonmar [Fri, 29 Jun 2001 15:30:14 +0000 (15:30 +0000)]
[project @ 2001-06-29 15:30:14 by simonmar]
Copy was ignoring its 'purpose' argument
simonmar [Fri, 29 Jun 2001 15:10:14 +0000 (15:10 +0000)]
[project @ 2001-06-29 15:10:14 by simonmar]
Change a '>' to '>=' when comparing the modification times of object &
source files, to match make's behaviour and eliminate some unnecessary
recompiles.
This introduces some potential unsafety, but it was felt that the
benefits in terms of unsurprising behaviour were worth it.
sewardj [Fri, 29 Jun 2001 14:47:58 +0000 (14:47 +0000)]
[project @ 2001-06-29 14:47:58 by sewardj]
Fix up package util.
sewardj [Fri, 29 Jun 2001 14:47:20 +0000 (14:47 +0000)]
[project @ 2001-06-29 14:47:20 by sewardj]
package util: don't include readline on Win32
sewardj [Fri, 29 Jun 2001 13:57:08 +0000 (13:57 +0000)]
[project @ 2001-06-29 13:57:08 by sewardj]
Remove spurious "return ()" from WIN32 hSetBinaryMode. Why this didn't
cause a syntax error before now completely escapes me.
simonmar [Fri, 29 Jun 2001 13:53:55 +0000 (13:53 +0000)]
[project @ 2001-06-29 13:53:55 by simonmar]
Uncomment part of this test that works properly now.
simonmar [Fri, 29 Jun 2001 13:42:19 +0000 (13:42 +0000)]
[project @ 2001-06-29 13:42:19 by simonmar]
Test that openFile in WriteMode doesn't truncate the file if an error
occurs.
simonmar [Fri, 29 Jun 2001 13:41:43 +0000 (13:41 +0000)]
[project @ 2001-06-29 13:41:43 by simonmar]
Fix bug where openFile in WriteMode truncates the file even if the
open fails because of a locking violation.
simonmar [Fri, 29 Jun 2001 13:40:50 +0000 (13:40 +0000)]
[project @ 2001-06-29 13:40:50 by simonmar]
Test that readFile doesn't leave the file locked after its output has
been forced completely.
sewardj [Fri, 29 Jun 2001 13:18:18 +0000 (13:18 +0000)]
[project @ 2001-06-29 13:18:18 by sewardj]
Test for __MINGW32__, not __MINGW__.
rrt [Fri, 29 Jun 2001 12:58:20 +0000 (12:58 +0000)]
[project @ 2001-06-29 12:58:20 by rrt]
Change the way that IO exceptions are handled and some associated details:
1. In the top-level exception handler, don't treat IO exceptions as a panic,
just print them out and stop.
2. In the slurping routines SysTools.copy and the fake cpp in
DriverPipeline, don't catch IO exceptions, just let them propagate.
simonmar [Fri, 29 Jun 2001 12:45:39 +0000 (12:45 +0000)]
[project @ 2001-06-29 12:45:39 by simonmar]
Fix a bug in hGetContents, namely that it wasn't closing the handle
when the end of file was reached. Also tried to tidy the code up a
bit while I was here.
simonpj [Fri, 29 Jun 2001 11:40:48 +0000 (11:40 +0000)]
[project @ 2001-06-29 11:40:48 by simonpj]
Share handles with creator so that error messages come out
simonpj [Fri, 29 Jun 2001 11:35:14 +0000 (11:35 +0000)]
[project @ 2001-06-29 11:35:14 by simonpj]
Add comments
rrt [Fri, 29 Jun 2001 10:35:09 +0000 (10:35 +0000)]
[project @ 2001-06-29 10:35:09 by rrt]
Stop copy adding a newline to the end of the copy
rrt [Thu, 28 Jun 2001 18:05:48 +0000 (18:05 +0000)]
[project @ 2001-06-28 18:05:48 by rrt]
Split up win32 tests so CPP is only updated after cpp is found
rrt [Thu, 28 Jun 2001 17:56:10 +0000 (17:56 +0000)]
[project @ 2001-06-28 17:56:10 by rrt]
Set C and CPP flags before finding gcc
rrt [Thu, 28 Jun 2001 16:44:18 +0000 (16:44 +0000)]
[project @ 2001-06-28 16:44:18 by rrt]
Fix getCPUTime on Windows
rrt [Thu, 28 Jun 2001 16:44:07 +0000 (16:44 +0000)]
[project @ 2001-06-28 16:44:07 by rrt]
Improve comment
rrt [Thu, 28 Jun 2001 15:45:49 +0000 (15:45 +0000)]
[project @ 2001-06-28 15:45:49 by rrt]
Remove debugging statements^Wexpressions
simonpj [Thu, 28 Jun 2001 15:11:07 +0000 (15:11 +0000)]
[project @ 2001-06-28 15:11:07 by simonpj]
Fix a missing case in kcHsType.
[Could be merged into 5.00.3, but we probably
aren't going to have such a thind.]
lewie [Thu, 28 Jun 2001 15:06:47 +0000 (15:06 +0000)]
[project @ 2001-06-28 15:06:47 by lewie]
Here ya go!
rrt [Thu, 28 Jun 2001 14:51:57 +0000 (14:51 +0000)]
[project @ 2001-06-28 14:51:57 by rrt]
Fix mangling of -B path.
simonmar [Thu, 28 Jun 2001 14:41:19 +0000 (14:41 +0000)]
[project @ 2001-06-28 14:41:19 by simonmar]
fix the ghc-inplace script w.r.t. the latest changes to SysTools.hs
sewardj [Thu, 28 Jun 2001 14:26:58 +0000 (14:26 +0000)]
[project @ 2001-06-28 14:26:58 by sewardj]
Add enough syms to get packages lang text concurrent into GHCi.
simonmar [Thu, 28 Jun 2001 14:15:04 +0000 (14:15 +0000)]
[project @ 2001-06-28 14:15:01 by simonmar]
First cut of the Haskell Core Libraries
=======================================
NOTE: it's not meant to be a working snapshot. The code is just here
to look at and so the NHC/Hugs guys can start playing around with it.
There is no build system. For GHC, the libraries tree is intended to
be grafted onto an existing fptools/ tree, and the Makefile in
libraries/core is a quick hack for that setup. This won't work at the
moment without the other changes needed in fptools/ghc, which I
haven't committed because they'll cause breakage. However, with the
changes required these sources build a working Prelude and libraries.
The layout mostly follows the one we agreed on, with one or two minor
changes; in particular the Data/Array layout probably isn't final
(there are several choices here).
The document is in libraries/core/doc as promised.
The cbits stuff is just a copy of ghc/lib/std/cbits and has
GHC-specific stuff in it. We should really separate the
compiler-specific C support from any compiler-independent C support
there might be.
Don't pay too much attention to the portability or stability status
indicated in the header of each source file at the moment - I haven't
gone through to make sure they're all consistent and make sense.
I'm using non-literate source outside of GHC/. Hope that's ok with
everyone.
We need to discuss how the build system is going to work...
rrt [Thu, 28 Jun 2001 13:48:32 +0000 (13:48 +0000)]
[project @ 2001-06-28 13:48:32 by rrt]
Fix Unix copy (now same as Windows: slow, but working).