Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
64765 commits behind the upstream repository.
user avatar
Simon Peyton Jones authored
[Simon: this should fix that -funfolding-use-threshold0 lint bug]

[Kevin: have a look at WwLib.mkWwBodies.  Isn't it a thing of beauty?
	Could you think about whether the CPR stuff could be cleaned
	up a bit?  The strictness stuff is much shorter.]


This commit tidies up WwLib.mkWwBodies, fixing a couple of bugs.

* One bug showed up when CPR made a worker return an unboxed tuple,
  but the worker didn't have any other arguments.  The "add a void arg"
  hack needed to be generalised a bit.

* The other bug showed up when booting the compiler.  There's a long
  comment near splitProductType in WwLib.lhs that explains the problem.
72af48cb
History
This is the root directory for functional-programming tools
distributed by the Computing Science Department at Glasgow University.
Simon Peyton Jones <simonpj@dcs.gla.ac.uk> is the ringleader of this
effort.  The tools are:

    ghc		the Glasgow Haskell compilation system
    hslibs	collection of Haskell libraries
    haggis	the Haggis GUI toolkit
    happy	the Happy Haskell parser generator
    green-card	a foreign function interface pre-processor for Haskell.
    nofib	the NoFib Haskell benchmarking suite
    literate	the Glasgow "literate programming" system
    glafp-utils shared utility programs
    mk	        GNU make setup used by all of fptools
    docs        documentation on the installing and using
                the fptools suite.

The "literate" stuff is usually distributed *with* other systems, but
not necessarily.  Components which are always part of a distribution
(never stand-alone) are "glafp-utils" and "mk" (a configuration
system).

There is usually an ANNOUNCE* file with any distribution.  Please
consult that, or the <piece>/README file, to find out how to proceed.