ghc-hetmet.git
24 years ago[project @ 2000-04-11 16:36:53 by sewardj]
sewardj [Tue, 11 Apr 2000 16:36:54 +0000 (16:36 +0000)]
[project @ 2000-04-11 16:36:53 by sewardj]
Ensure that when Hugs decides to unload a module (nukeModule()), there are
no closures anywhere in the system which refers to infotables defined
in that module.  That means reverting all CAFs and doing a major GC
prior to deleting the module.  A flag is used to avoid redundant GCs.

24 years ago[project @ 2000-04-11 15:34:04 by keithw]
keithw [Tue, 11 Apr 2000 15:34:04 +0000 (15:34 +0000)]
[project @ 2000-04-11 15:34:04 by keithw]
Render formatting consistent with the Glasgow Style (vapour-)Guide.

24 years ago[project @ 2000-04-11 11:54:22 by simonmar]
simonmar [Tue, 11 Apr 2000 11:54:22 +0000 (11:54 +0000)]
[project @ 2000-04-11 11:54:22 by simonmar]
remove syslib misc.

24 years ago[project @ 2000-04-11 11:53:47 by simonmar]
simonmar [Tue, 11 Apr 2000 11:53:47 +0000 (11:53 +0000)]
[project @ 2000-04-11 11:53:47 by simonmar]
not the dmgob_ guys; we don't have the Native library anymore.

24 years ago[project @ 2000-04-11 11:50:33 by simonmar]
simonmar [Tue, 11 Apr 2000 11:51:17 +0000 (11:51 +0000)]
[project @ 2000-04-11 11:50:33 by simonmar]
syslib wibble

24 years ago[project @ 2000-04-11 11:48:13 by simonmar]
simonmar [Tue, 11 Apr 2000 11:48:13 +0000 (11:48 +0000)]
[project @ 2000-04-11 11:48:13 by simonmar]
don't try to recurse into non-directories.

24 years ago[project @ 2000-04-11 11:38:44 by simonmar]
simonmar [Tue, 11 Apr 2000 11:38:44 +0000 (11:38 +0000)]
[project @ 2000-04-11 11:38:44 by simonmar]
update expected output

24 years ago[project @ 2000-04-11 11:34:40 by simonmar]
simonmar [Tue, 11 Apr 2000 11:34:40 +0000 (11:34 +0000)]
[project @ 2000-04-11 11:34:40 by simonmar]
update expected output

24 years ago[project @ 2000-04-11 11:32:32 by simonmar]
simonmar [Tue, 11 Apr 2000 11:32:32 +0000 (11:32 +0000)]
[project @ 2000-04-11 11:32:32 by simonmar]
Use STArray instead of MutableArray.

24 years ago[project @ 2000-04-11 11:27:19 by simonmar]
simonmar [Tue, 11 Apr 2000 11:27:19 +0000 (11:27 +0000)]
[project @ 2000-04-11 11:27:19 by simonmar]
update expected output.

24 years ago[project @ 2000-04-11 11:24:42 by simonmar]
simonmar [Tue, 11 Apr 2000 11:24:42 +0000 (11:24 +0000)]
[project @ 2000-04-11 11:24:42 by simonmar]
oops, this output is bogus.

24 years ago[project @ 2000-04-11 11:18:21 by simonmar]
simonmar [Tue, 11 Apr 2000 11:20:25 +0000 (11:20 +0000)]
[project @ 2000-04-11 11:18:21 by simonmar]
update expected output

24 years ago[project @ 2000-04-11 11:11:18 by simonmar]
simonmar [Tue, 11 Apr 2000 11:12:44 +0000 (11:12 +0000)]
[project @ 2000-04-11 11:11:18 by simonmar]
update expected output

24 years ago[project @ 2000-04-11 11:06:34 by simonmar]
simonmar [Tue, 11 Apr 2000 11:06:34 +0000 (11:06 +0000)]
[project @ 2000-04-11 11:06:34 by simonmar]
Update for Haskell 1.4 (!!!) and update expected output.

24 years ago[project @ 2000-04-11 11:02:31 by simonmar]
simonmar [Tue, 11 Apr 2000 11:02:31 +0000 (11:02 +0000)]
[project @ 2000-04-11 11:02:31 by simonmar]
String isn't a valid _ccall_ argument type anymore.

24 years ago[project @ 2000-04-11 10:45:55 by simonmar]
simonmar [Tue, 11 Apr 2000 10:45:55 +0000 (10:45 +0000)]
[project @ 2000-04-11 10:45:55 by simonmar]
Add io subdir

24 years ago[project @ 2000-04-11 09:45:36 by andy]
andy [Tue, 11 Apr 2000 09:45:36 +0000 (09:45 +0000)]
[project @ 2000-04-11 09:45:36 by andy]
Wibble

24 years ago[project @ 2000-04-11 09:40:19 by simonmar]
simonmar [Tue, 11 Apr 2000 09:40:19 +0000 (09:40 +0000)]
[project @ 2000-04-11 09:40:19 by simonmar]
Add nested hPutStr/tracing test

24 years ago[project @ 2000-04-10 16:49:15 by sewardj]
sewardj [Mon, 10 Apr 2000 16:49:15 +0000 (16:49 +0000)]
[project @ 2000-04-10 16:49:15 by sewardj]
When building way=u, merge cbits/*.o into ./libHS_cbits.u_o, for Hugs.

24 years ago[project @ 2000-04-10 16:02:58 by simonpj]
simonpj [Mon, 10 Apr 2000 16:02:58 +0000 (16:02 +0000)]
[project @ 2000-04-10 16:02:58 by simonpj]
Make it so that -fcompiling-prelude applies only
for Prelude modules (i.e. ones called Prelxxx).

I've done this with an {-# OPTIONS #-} line in each
such module (they all has -fno-implicit-prelude anyway)
but a less repetitive approach in the Makefile would
be welcome.

24 years ago[project @ 2000-04-10 15:39:09 by sewardj]
sewardj [Mon, 10 Apr 2000 15:39:09 +0000 (15:39 +0000)]
[project @ 2000-04-10 15:39:09 by sewardj]
Load the compiled Prelude directly from its build location, ghc/lib/std.

24 years ago[project @ 2000-04-10 15:24:26 by sewardj]
sewardj [Mon, 10 Apr 2000 15:24:26 +0000 (15:24 +0000)]
[project @ 2000-04-10 15:24:26 by sewardj]
Update EXTERN_SYMS_linux/EXTERN_SYMS_ALLPLATFORMS to fix Win32 build.

24 years ago[project @ 2000-04-10 14:28:14 by sewardj]
sewardj [Mon, 10 Apr 2000 14:28:14 +0000 (14:28 +0000)]
[project @ 2000-04-10 14:28:14 by sewardj]
Make getArgs and getProgName behave identically in combined and standalone
modes.

24 years ago[project @ 2000-04-10 14:05:57 by simonmar]
simonmar [Mon, 10 Apr 2000 14:05:57 +0000 (14:05 +0000)]
[project @ 2000-04-10 14:05:57 by simonmar]
Text => Show

24 years ago[project @ 2000-04-10 13:59:17 by simonmar]
simonmar [Mon, 10 Apr 2000 13:59:17 +0000 (13:59 +0000)]
[project @ 2000-04-10 13:59:17 by simonmar]
Text => Show

24 years ago[project @ 2000-04-10 13:49:48 by simonmar]
simonmar [Mon, 10 Apr 2000 13:49:48 +0000 (13:49 +0000)]
[project @ 2000-04-10 13:49:48 by simonmar]
Text => Show

24 years ago[project @ 2000-04-10 13:35:45 by simonmar]
simonmar [Mon, 10 Apr 2000 13:35:45 +0000 (13:35 +0000)]
[project @ 2000-04-10 13:35:45 by simonmar]
Add Array exceptions (out-of-bounds and undefined element), not used yet.

24 years ago[project @ 2000-04-10 13:31:00 by simonmar]
simonmar [Mon, 10 Apr 2000 13:31:00 +0000 (13:31 +0000)]
[project @ 2000-04-10 13:31:00 by simonmar]
change Text to Show, several years too late

24 years ago[project @ 2000-04-10 13:18:13 by simonpj]
simonpj [Mon, 10 Apr 2000 13:18:13 +0000 (13:18 +0000)]
[project @ 2000-04-10 13:18:13 by simonpj]
Complete the previous commit.  I think things should
be OK now; but the Hugs versioning may well need
adjusting.

NOTE: I've added PrelIO.lhs; it contains all the GHC parts
of what was IO.lhs.

24 years ago[project @ 2000-04-10 12:12:27 by simonpj]
simonpj [Mon, 10 Apr 2000 12:12:28 +0000 (12:12 +0000)]
[project @ 2000-04-10 12:12:27 by simonpj]
Make it so that

(A) All modules imported by Prelude are PrelXXX modules,
    not library modules (notably Ix, Monad were culprits).

    This lines up with the Hugs story, and is more intuitive.

(B) All things needed implicitly by syntax (e.g. do-notation
    needs Monad) come from PrelXXX modules, even if they aren't
    visible when you say 'import Prelude'.

These changes simplify the story, and fix the 'looking for [boot]
interface for Ix' problem.

This change is not quite complete.  I'm committing it so
Simon can finish it off.

24 years ago[project @ 2000-04-10 09:40:03 by sewardj]
sewardj [Mon, 10 Apr 2000 09:40:03 +0000 (09:40 +0000)]
[project @ 2000-04-10 09:40:03 by sewardj]
Nuke USE_REGISTRY and all the code it protects.  We can reinstate this
stuff later if we so decide.

24 years ago[project @ 2000-04-10 02:28:08 by andy]
andy [Mon, 10 Apr 2000 02:28:08 +0000 (02:28 +0000)]
[project @ 2000-04-10 02:28:08 by andy]
Removing the -DUSE_REPORT_PRELUDE for Hugs, so Hugs can use quicksort for
its sorting function.

Related wibbles in the libraries.

24 years ago[project @ 2000-04-07 16:25:19 by sewardj]
sewardj [Fri, 7 Apr 2000 16:25:20 +0000 (16:25 +0000)]
[project @ 2000-04-07 16:25:19 by sewardj]
If an object symbol is not found via the usual methods, search absolutely
every object symbol table in the system before giving up on it.
Motivation: searching for Arch_x86_foobar_closure generates a search for
x86_foobar_closure in module Arch, whereas we really want to search for
foobar_closure in module Arch_x86.  Sigh.

24 years ago[project @ 2000-04-07 16:22:12 by sewardj]
sewardj [Fri, 7 Apr 2000 16:22:12 +0000 (16:22 +0000)]
[project @ 2000-04-07 16:22:12 by sewardj]
route debugging messages via FPrintf, not fprintf

24 years ago[project @ 2000-04-07 16:20:53 by sewardj]
sewardj [Fri, 7 Apr 2000 16:20:53 +0000 (16:20 +0000)]
[project @ 2000-04-07 16:20:53 by sewardj]
Fix silly bug with option setting:   :s _S  --> segfault

24 years ago[project @ 2000-04-07 15:24:15 by simonpj]
simonpj [Fri, 7 Apr 2000 15:24:15 +0000 (15:24 +0000)]
[project @ 2000-04-07 15:24:15 by simonpj]
* Make it so that interface files track dependencies on
  all modules except Prelude modules.
  (Was "library" modules, distinguished by a gross hack
   but that messed up StgHugs.)

24 years ago[project @ 2000-04-07 13:50:06 by simonmar]
simonmar [Fri, 7 Apr 2000 13:50:06 +0000 (13:50 +0000)]
[project @ 2000-04-07 13:50:06 by simonmar]
don't refer to PrimIO, it is deprecated (since about 2 years ago)

24 years ago[project @ 2000-04-07 13:45:46 by simonpj]
simonpj [Fri, 7 Apr 2000 13:45:48 +0000 (13:45 +0000)]
[project @ 2000-04-07 13:45:46 by simonpj]
* Fix 'foreign export' and 'foreign export dynamic' so
  that we can export pure (non-IO) functions as well as IO-ish ones

  NB: There's a change to PrelIOBase, so you'll
      need to recompile the Prelude

* Add Type.mkDictTys and call it in various places.

24 years ago[project @ 2000-04-07 13:40:15 by simonmar]
simonmar [Fri, 7 Apr 2000 13:40:15 +0000 (13:40 +0000)]
[project @ 2000-04-07 13:40:15 by simonmar]
Fix up some cross-refs.

24 years ago[project @ 2000-04-07 13:34:03 by simonmar]
simonmar [Fri, 7 Apr 2000 13:34:03 +0000 (13:34 +0000)]
[project @ 2000-04-07 13:34:03 by simonmar]
use ghc/docs/set instead of ghc/docs/users_guide and hslibs/doc

24 years ago[project @ 2000-04-07 13:26:33 by simonmar]
simonmar [Fri, 7 Apr 2000 13:26:33 +0000 (13:26 +0000)]
[project @ 2000-04-07 13:26:33 by simonmar]
Small updates, and link to the Concurrent section in the Hslibs docs.

24 years ago[project @ 2000-04-07 11:57:31 by sewardj]
sewardj [Fri, 7 Apr 2000 11:57:31 +0000 (11:57 +0000)]
[project @ 2000-04-07 11:57:31 by sewardj]
Make datatype field selectors take (and ignore) dictionaries.

24 years ago[project @ 2000-04-07 11:13:37 by simonmar]
simonmar [Fri, 7 Apr 2000 11:13:37 +0000 (11:13 +0000)]
[project @ 2000-04-07 11:13:37 by simonmar]
Add a wrapper for building the GHC Documentation Set (currently
contains the Users' Guide and the HsLibs documentation).

We can finally have cross references between these docs!  Woo-hoo!
But we still want to build at least HsLibs as a stand-alone book, so
for now we'll only have references from the Users' Guide to the Hslibs
doc, not the other way around.

24 years ago[project @ 2000-04-07 10:56:18 by simonmar]
simonmar [Fri, 7 Apr 2000 10:56:18 +0000 (10:56 +0000)]
[project @ 2000-04-07 10:56:18 by simonmar]
correct _S_ to __S.

24 years ago[project @ 2000-04-07 10:19:02 by sewardj]
sewardj [Fri, 7 Apr 2000 10:19:02 +0000 (10:19 +0000)]
[project @ 2000-04-07 10:19:02 by sewardj]
IO was mentioned twice in the export list.

24 years ago[project @ 2000-04-07 10:00:28 by sewardj]
sewardj [Fri, 7 Apr 2000 10:00:28 +0000 (10:00 +0000)]
[project @ 2000-04-07 10:00:28 by sewardj]
Get correct line numbers in type/static error messages.

24 years ago[project @ 2000-04-07 09:59:36 by sewardj]
sewardj [Fri, 7 Apr 2000 09:59:36 +0000 (09:59 +0000)]
[project @ 2000-04-07 09:59:36 by sewardj]
Use data decl context to qualify selector types.

24 years ago[project @ 2000-04-07 09:58:34 by sewardj]
sewardj [Fri, 7 Apr 2000 09:58:34 +0000 (09:58 +0000)]
[project @ 2000-04-07 09:58:34 by sewardj]
print(STAR) wibble.

24 years ago[project @ 2000-04-07 09:57:37 by sewardj]
sewardj [Fri, 7 Apr 2000 09:57:37 +0000 (09:57 +0000)]
[project @ 2000-04-07 09:57:37 by sewardj]
Update path to nofib suite.

24 years ago[project @ 2000-04-07 09:47:38 by simonmar]
simonmar [Fri, 7 Apr 2000 09:47:38 +0000 (09:47 +0000)]
[project @ 2000-04-07 09:47:38 by simonmar]
Restore deadlock detection code commented out by a certain
Mr. H. W. Loidl, and fix up some of the debugging output while I'm here.

24 years ago[project @ 2000-04-06 17:54:01 by rrt]
rrt [Thu, 6 Apr 2000 17:54:01 +0000 (17:54 +0000)]
[project @ 2000-04-06 17:54:01 by rrt]
Fixed getCPUTime for Windows, which was seriously broken (arithmetically,
logically &c. &c.).

showTime now calls tzset under Cygwin just as timezone.c does.

24 years ago[project @ 2000-04-06 17:50:58 by rrt]
rrt [Thu, 6 Apr 2000 17:50:58 +0000 (17:50 +0000)]
[project @ 2000-04-06 17:50:58 by rrt]
Fixed a tyop.

24 years ago[project @ 2000-04-06 17:34:24 by simonmar]
simonmar [Thu, 6 Apr 2000 17:34:24 +0000 (17:34 +0000)]
[project @ 2000-04-06 17:34:24 by simonmar]
Rename some entities so they don't clash with hslibs.

24 years ago[project @ 2000-04-06 17:28:39 by simonmar]
simonmar [Thu, 6 Apr 2000 17:28:39 +0000 (17:28 +0000)]
[project @ 2000-04-06 17:28:39 by simonmar]
Split the entities and the top-level book out into separate files, so
we can compose this book as part of a set.

24 years ago[project @ 2000-04-06 17:14:08 by sewardj]
sewardj [Thu, 6 Apr 2000 17:14:08 +0000 (17:14 +0000)]
[project @ 2000-04-06 17:14:08 by sewardj]
pprInstr (ASCII True str): avoid escapery probs by translating into hex

24 years ago[project @ 2000-04-06 15:05:37 by simonmar]
simonmar [Thu, 6 Apr 2000 15:05:38 +0000 (15:05 +0000)]
[project @ 2000-04-06 15:05:37 by simonmar]
Kill the libraries chapter, and move the material on
<literal>PrelGHC</literal> into the section on language extensions.

24 years ago[project @ 2000-04-06 15:05:30 by sewardj]
sewardj [Thu, 6 Apr 2000 15:05:30 +0000 (15:05 +0000)]
[project @ 2000-04-06 15:05:30 by sewardj]
More constructors-with-context fixes:
* Don't inline bytecode constructor calls if constructor has a context
* Fix bug in startGHCDataDecl which caused loss of context in
  iface constructor types.

24 years ago[project @ 2000-04-06 14:23:55 by sewardj]
sewardj [Thu, 6 Apr 2000 14:23:55 +0000 (14:23 +0000)]
[project @ 2000-04-06 14:23:55 by sewardj]
Align Hugs' constructor-building with that of GHC.  Always pass dictionaries
to the constructor function, even if they are ignored.  Generate a
constructor function which expects dictionaries.  And ignore dictionaries
in constructor types when desugaring patterns containing them.

24 years ago[project @ 2000-04-06 13:41:16 by panne]
panne [Thu, 6 Apr 2000 13:41:16 +0000 (13:41 +0000)]
[project @ 2000-04-06 13:41:16 by panne]
added reminder to keep StgTypes.h in synch with HsFFI.h

24 years ago[project @ 2000-04-06 13:40:15 by panne]
panne [Thu, 6 Apr 2000 13:40:15 +0000 (13:40 +0000)]
[project @ 2000-04-06 13:40:15 by panne]
added autoconf magic for integral limits

24 years ago[project @ 2000-04-06 13:37:30 by simonmar]
simonmar [Thu, 6 Apr 2000 13:37:30 +0000 (13:37 +0000)]
[project @ 2000-04-06 13:37:30 by simonmar]
a few updates

24 years ago[project @ 2000-04-06 13:37:10 by simonmar]
simonmar [Thu, 6 Apr 2000 13:37:10 +0000 (13:37 +0000)]
[project @ 2000-04-06 13:37:10 by simonmar]
fix ccall argument ordering

24 years ago[project @ 2000-04-06 13:31:09 by simonmar]
simonmar [Thu, 6 Apr 2000 13:31:09 +0000 (13:31 +0000)]
[project @ 2000-04-06 13:31:09 by simonmar]
remove instance for CCallable [Char]

24 years ago[project @ 2000-04-06 10:45:11 by simonmar]
simonmar [Thu, 6 Apr 2000 10:45:11 +0000 (10:45 +0000)]
[project @ 2000-04-06 10:45:11 by simonmar]
add a note about POSIX compliance.

24 years ago[project @ 2000-04-06 10:33:06 by rrt]
rrt [Thu, 6 Apr 2000 10:33:07 +0000 (10:33 +0000)]
[project @ 2000-04-06 10:33:06 by rrt]
K&R is long dead
So why do its prototypes still live?

24 years ago[project @ 2000-04-06 10:26:09 by rrt]
rrt [Thu, 6 Apr 2000 10:26:09 +0000 (10:26 +0000)]
[project @ 2000-04-06 10:26:09 by rrt]
POSIX has not heard
of S_IWRITE
It uses S_IWSR.

24 years ago[project @ 2000-04-06 00:36:12 by andy]
andy [Thu, 6 Apr 2000 00:36:12 +0000 (00:36 +0000)]
[project @ 2000-04-06 00:36:12 by andy]
Removing the "import privileged" implementation from hugs.

24 years ago[project @ 2000-04-06 00:28:31 by andy]
andy [Thu, 6 Apr 2000 00:28:31 +0000 (00:28 +0000)]
[project @ 2000-04-06 00:28:31 by andy]
Version of PrelPrim with all the primitives listed.

24 years ago[project @ 2000-04-06 00:04:01 by andy]
andy [Thu, 6 Apr 2000 00:04:01 +0000 (00:04 +0000)]
[project @ 2000-04-06 00:04:01 by andy]
Changing PrimPrel to PrelPrim

24 years ago[project @ 2000-04-06 00:02:09 by andy]
andy [Thu, 6 Apr 2000 00:02:09 +0000 (00:02 +0000)]
[project @ 2000-04-06 00:02:09 by andy]
wibble.

24 years ago[project @ 2000-04-06 00:01:26 by andy]
andy [Thu, 6 Apr 2000 00:01:27 +0000 (00:01 +0000)]
[project @ 2000-04-06 00:01:26 by andy]
Changing PrimPrel to PrelPrim.

24 years ago[project @ 2000-04-05 17:05:50 by rrt]
rrt [Wed, 5 Apr 2000 17:05:50 +0000 (17:05 +0000)]
[project @ 2000-04-05 17:05:50 by rrt]
Cut a lot of crappy code,
Now it works in Bill's abode.

24 years ago[project @ 2000-04-05 16:57:18 by sewardj]
sewardj [Wed, 5 Apr 2000 16:57:18 +0000 (16:57 +0000)]
[project @ 2000-04-05 16:57:18 by sewardj]
Clean up the storage manager a little, and reinstate the compile time
garbage collector.  Then pray.

24 years ago[project @ 2000-04-05 16:25:51 by simonpj]
simonpj [Wed, 5 Apr 2000 16:25:54 +0000 (16:25 +0000)]
[project @ 2000-04-05 16:25:51 by simonpj]
* Add new flag -fddump-minimal-imports, which dumps a file
  M.imports that contains the (allegedly) minimal bunch of
  imports that make the system work.
  It's done by Rename.printMinimalImports

* Extend foreign import/export to handle
* Booleans
* newtypes
  as requested by the FFI team

* Tidy up DsCCall quite a bit
  Remove maybeBoxedPrimTy from TcHsSyn

24 years ago[project @ 2000-04-05 15:32:08 by simonmar]
simonmar [Wed, 5 Apr 2000 15:32:08 +0000 (15:32 +0000)]
[project @ 2000-04-05 15:32:08 by simonmar]
Preliminary support for heap profiles by module, type, or closure
description (ie. +RTS -h{Y,D,M}).

The hash tables are dynamically expanding, but lookup seems fairly
slow so the implementation may need to change at some point.

24 years ago[project @ 2000-04-05 15:28:59 by simonmar]
simonmar [Wed, 5 Apr 2000 15:28:59 +0000 (15:28 +0000)]
[project @ 2000-04-05 15:28:59 by simonmar]
TSOs now belong to CCS_SYSTEM.

24 years ago[project @ 2000-04-05 15:27:59 by simonmar]
simonmar [Wed, 5 Apr 2000 15:27:59 +0000 (15:27 +0000)]
[project @ 2000-04-05 15:27:59 by simonmar]
Include the closure description and type description fields in the
info table, for PROFILING.

24 years ago[project @ 2000-04-05 15:21:28 by simonmar]
simonmar [Wed, 5 Apr 2000 15:21:28 +0000 (15:21 +0000)]
[project @ 2000-04-05 15:21:28 by simonmar]
Ignore system CCSs in the generated XML profile, since the browser
isn't doing this yet.

24 years ago[project @ 2000-04-05 15:20:41 by panne]
panne [Wed, 5 Apr 2000 15:20:41 +0000 (15:20 +0000)]
[project @ 2000-04-05 15:20:41 by panne]
Imported sources for the much-debated HsFFI.h

24 years ago[project @ 2000-04-05 15:20:13 by simonmar]
simonmar [Wed, 5 Apr 2000 15:20:13 +0000 (15:20 +0000)]
[project @ 2000-04-05 15:20:13 by simonmar]
Fill in the closure description and type description fields for the
heap-resident closures in this file (affects profiling only).

24 years ago[project @ 2000-04-05 15:18:29 by simonmar]
simonmar [Wed, 5 Apr 2000 15:18:29 +0000 (15:18 +0000)]
[project @ 2000-04-05 15:18:29 by simonmar]
Use the decoded string, not the z-encoded string, for the closure
description.

24 years ago[project @ 2000-04-05 15:17:38 by simonmar]
simonmar [Wed, 5 Apr 2000 15:17:38 +0000 (15:17 +0000)]
[project @ 2000-04-05 15:17:38 by simonmar]
generate the correct closureTypeDescr for an LFCon.

24 years ago[project @ 2000-04-05 14:26:31 by panne]
panne [Wed, 5 Apr 2000 14:26:31 +0000 (14:26 +0000)]
[project @ 2000-04-05 14:26:31 by panne]
Changed a bunch of `#endif FOO' to `#endif /* FOO */', the former is
not strictly ANSI (don't know if the latter is, but `gcc -Wall -ansi
-pedantic' is silent then).

24 years ago[project @ 2000-04-05 14:14:51 by sewardj]
sewardj [Wed, 5 Apr 2000 14:14:51 +0000 (14:14 +0000)]
[project @ 2000-04-05 14:14:51 by sewardj]
Nuke inexplicable calls to moduleThisScript.

24 years ago[project @ 2000-04-05 14:13:58 by sewardj]
sewardj [Wed, 5 Apr 2000 14:13:58 +0000 (14:13 +0000)]
[project @ 2000-04-05 14:13:58 by sewardj]
Restore +Q and -Q operation, so we can run nofib again.

24 years ago[project @ 2000-04-05 13:59:05 by rrt]
rrt [Wed, 5 Apr 2000 13:59:05 +0000 (13:59 +0000)]
[project @ 2000-04-05 13:59:05 by rrt]
A bracket lost
is sense restored!

24 years ago[project @ 2000-04-05 13:56:30 by panne]
panne [Wed, 5 Apr 2000 13:56:30 +0000 (13:56 +0000)]
[project @ 2000-04-05 13:56:30 by panne]
Ooops, forgot that one in my previous commit (don't mention
HsFalse/HsTrue anymore).

24 years ago[project @ 2000-04-05 13:53:33 by panne]
panne [Wed, 5 Apr 2000 13:53:33 +0000 (13:53 +0000)]
[project @ 2000-04-05 13:53:33 by panne]
Removed comments about HsFalse/HsTrue, we guarantee 0/1.

24 years ago[project @ 2000-04-05 11:39:07 by sewardj]
sewardj [Wed, 5 Apr 2000 11:39:07 +0000 (11:39 +0000)]
[project @ 2000-04-05 11:39:07 by sewardj]
* Change showsPrec on ErrorCall to include "error: "
* Go back to old defn of length; new version requires O(N) stack :-(

24 years ago[project @ 2000-04-05 10:28:02 by simonmar]
simonmar [Wed, 5 Apr 2000 10:28:02 +0000 (10:28 +0000)]
[project @ 2000-04-05 10:28:02 by simonmar]
Clean up the error conditions a bit.

24 years ago[project @ 2000-04-05 10:27:10 by simonmar]
simonmar [Wed, 5 Apr 2000 10:27:10 +0000 (10:27 +0000)]
[project @ 2000-04-05 10:27:10 by simonmar]
add icons subdir

24 years ago[project @ 2000-04-05 10:25:08 by sewardj]
sewardj [Wed, 5 Apr 2000 10:25:09 +0000 (10:25 +0000)]
[project @ 2000-04-05 10:25:08 by sewardj]
Correctly handle constructors with strict fields, which was broken by
overenthusiastic constructor inlining some time back:
* notice if a constructor has strict fields, and set name(n).hasStrict,
  both for source modules and interfaces
* if a constr has strict fields, do not inline applications of it

24 years ago[project @ 2000-04-05 10:11:55 by simonmar]
simonmar [Wed, 5 Apr 2000 10:11:55 +0000 (10:11 +0000)]
[project @ 2000-04-05 10:11:55 by simonmar]
install the icons.

24 years ago[project @ 2000-04-05 10:06:36 by simonmar]
simonmar [Wed, 5 Apr 2000 10:06:36 +0000 (10:06 +0000)]
[project @ 2000-04-05 10:06:36 by simonmar]
Add new profiling tool (probably non-working so far).

24 years ago[project @ 2000-04-05 09:22:28 by sewardj]
sewardj [Wed, 5 Apr 2000 09:22:28 +0000 (09:22 +0000)]
[project @ 2000-04-05 09:22:28 by sewardj]
processInterfaces: use dupOnto to create constructor_list, not appendOnto.
Ignore strictness annotations on iface constructor sigs.  (Probably wrong).

24 years ago[project @ 2000-04-04 18:27:46 by andy]
andy [Tue, 4 Apr 2000 18:27:46 +0000 (18:27 +0000)]
[project @ 2000-04-04 18:27:46 by andy]
Observe wibble.

24 years ago[project @ 2000-04-04 17:35:04 by sewardj]
sewardj [Tue, 4 Apr 2000 17:35:04 +0000 (17:35 +0000)]
[project @ 2000-04-04 17:35:04 by sewardj]
Restore ability to load a script which doesn't have a module header,
ie doesn't start   module M where ...

24 years ago[project @ 2000-04-04 17:07:15 by sewardj]
sewardj [Tue, 4 Apr 2000 17:07:15 +0000 (17:07 +0000)]
[project @ 2000-04-04 17:07:15 by sewardj]
Fix various small bugs in module chasing & error handling.
Report a static analysis error if a module's name does not match
its file name.

24 years ago[project @ 2000-04-04 15:41:56 by sewardj]
sewardj [Tue, 4 Apr 2000 15:41:56 +0000 (15:41 +0000)]
[project @ 2000-04-04 15:41:56 by sewardj]
* Enforce downward closure rule (first attempt :-)
  If both object and source of a module are available, be simple and
  choose the more recent.  If that causes a subsequent violation of the
  DCR, complain to the user at the time the violation is detected.
  The alternative is to have a clever algorithm which makes clever
  choices now to avoid conflicts later, but that looks complicated to
  do, and I think it would also confuse users.

* As a side effect of the above, enforce the rule that the Prelude
  must be all source or all object, but not a combination.

* Rationalise signature and semantics for findFilesForModule, so as to
  make client code simpler.

24 years ago[project @ 2000-04-04 15:22:58 by simonmar]
simonmar [Tue, 4 Apr 2000 15:22:58 +0000 (15:22 +0000)]
[project @ 2000-04-04 15:22:58 by simonmar]
a few corrections.