- Dec 01, 1999
-
-
Julian Seward authored
Add rules so library sources can be obtained from fptools/hslibs.
-
Julian Seward authored
Fix bug in 'deriving Enum' reported by Ralf Hinze: data T = A | B deriving Enum failed, requiring instance Ord T, because code generated for enumFromThen required Ord. We now derive just fromEnum and toEnum, and let the Report's defaults do the rest.
-
- Nov 30, 1999
-
-
Jeff Lewis authored
... and of course these files might come in handy ...
-
Jeff Lewis authored
First bits o' functional dependencies - just the syntax and related datatypes, plus started moving some of the static checks from the renamer (where we don't know about fundeps) to later in the typechecker.
-
Simon Marlow authored
Eliminate warnings for uninitialised srt fields in constructors.
-
Simon Marlow authored
Eliminate some warnings.
-
Simon Marlow authored
Add hslibs to the default $(ProjectsTo{Install,Build})
-
Simon Peyton Jones authored
Allow a for-all type inside a usage annotation: __u - (forall a. type) [This actually simply inolved making rnHsType a bit more permissive.] The particular way this shows up right now is a bug that Keith is working on, but in general it should be legal.
-
- Nov 29, 1999
-
-
Julian Seward authored
Make StgHugs use the same naming scheme as GHC does for class + instance machinery. Add machinery to do Z-encoding/decoding of names extracted from interface files. Make the ELF object loader work again. It seemed to have suffered slight bitrot over the past couple of months. Fix various minor bugs. Track a small change in interface file syntax. Make Printer.c print tagged-unboxed stack sections in a decent way now that Alastair-style stack tags have been abandoned.
-
Julian Seward authored
Implement foreign import dynamic.
-
Simon Peyton Jones authored
Make it so that a class decl generates default method decls for every method, not just for the ones that the user supplies default-methods for. GHC will never call these default-default methods, because when it finds an instance decl with no defn for a method, *and* the class decl doesn't have a user-programmed default method, it whips up a new default method for that instance decl so that the error message is more informative than the default-default method would be. But Hugs isn't so smart, and wants to call something from the class decl. This change required fiddling with more than I expected. Sigh. Simon
-
Keith Wansbrough authored
error.h -> stgerror.h
-
Julian Seward authored
error.h --> stgerror.h
-
Keith Wansbrough authored
This commit adds the new RTS option `-xc', which prints the current cost-centre stack to stderr whenever an exception is raised. This is intended to be a debugging tool, to help trace those "Prelude.head: empty list" errors that are so frustrating to find. `-xc' is only available for programs compiled with -prof, and you probably want -auto as well to get useful information. This is currently experimental; it would be better if it only displayed the info for *uncaught* exceptions, but this is harder to implement. This commit also makes an OFTEL-inspired extension to the RTS option space. Since we've almost run out of options, `-x' is now reserved for `extended' options. `-xc' is the first of these, but that leaves '-x[0-9A-Zabd-wyz]' still to be used! The prefix `-xx' is reserved for future extension.
-
- Nov 26, 1999
-
-
Simon Marlow authored
GHC bits for new library organisation.
-
Simon Marlow authored
rename error.h to stgerror.h
-
Simon Marlow authored
Rename error.h to stgerror.h
-
Simon Marlow authored
slight cleanup
-
- Nov 25, 1999
-
-
Julian Seward authored
Pass flag -ltermcap as link option for test -lreadline.
-
Simon Marlow authored
Incremental cleanups & improvements to the I/O subsystem - Initial fix for problems caused by partial writes to non-blocking file descriptors. To see this bug, run ghc/tests/programs/life_space_leak through a pipe. - remove FILEOBJ_FLUSH, it allegedly has the same meaning as FILEOBJ_WRITE. This fixes a buf in openFd: it erroneously didn't set FILEOBJ_FLUSH on writeable file descriptors. - some ANSIfication
-
Julian Seward authored
import wibble for hugs
-
Julian Seward authored
Remove debugging printf in findQualifier().
-
Julian Seward authored
HUGS_VERSION ++
-
Julian Seward authored
Change STDCALL to STDKALL to avoid conflict with a header file.
-
Simon Peyton Jones authored
Simon's driver changes (should have committed these a while back) * Add -no-rules to first simplifier pass * Move CSE pass
-
Simon Peyton Jones authored
Missing dollar on USER_WAY_NAMES and OPTS
-
Simon Peyton Jones authored
Add a comment
-
Simon Peyton Jones authored
Express sequence in terms of foldr
-
Simon Peyton Jones authored
Better error message when trying to derive classes for existentially-quantified data constructors. And a general slight tidy up in TcDeriv
-
Simon Peyton Jones authored
Slight wibble on polytype syntax, going in the direction of allowing for-alls in more places. This one lets you say forall a. forall b. a->b
-
Simon Peyton Jones authored
Report decent error for top-level defn of a qualified name
-
Simon Peyton Jones authored
Add documentation on pattern guards
-
Julian Seward authored
Don't guess where the installation directory is. Instead, read it from the STGHUGSDIR env var at startup.
-
- Nov 24, 1999
-
-
Julian Seward authored
Disable debug printing in setDefaultLibDir.
-
Julian Seward authored
Add clean target, and change hugslib to all.
-
Simon Marlow authored
Fix bug in threadDelay, where the delay ticks could end up negative.
-
AndyGill authored
Fixing setDefaultLibDir to work with relative use of hugs binary.
-
AndyGill authored
Adding method for packaging up binary distribution of Hugs.
-
Simon Marlow authored
wibble
-
Simon Marlow authored
- remove -dcore-lint - add Happy-generated files to MAINTAINER_CLEAN - replace $(GHC_DRIVER_DIR)/ghc with $(GHC)
-