packages/ghc-prim.git
5 years agoMake argument types in popcnt.c match declared primop types master
Reid Barton [Fri, 6 Sep 2013 23:22:38 +0000 (19:22 -0400)] 
Make argument types in popcnt.c match declared primop types

On 64-bit Mac OS, gcc 4.2 (which comes with Xcode 4.6) generates code
that assumes that an argument that is smaller than the register
it is passed in has been sign- or zero-extended. But ghc thinks
the types of the PopCnt*Op primops are Word# -> Word#, so it passes
the entire argument word to the hs_popcnt* function as though it was
declared to have an argument of type StgWord. Segfaults ensue.

The easiest fix is to sidestep all this zero-extension business
by declaring the hs_popcnt* functions to take a whole StgWord (when their
argument would fit in a register), thereby matching the list of primops.

Fixes #7684.

5 years agoExport Coercible in GHC.Types (#8894)
Joachim Breitner [Sun, 16 Mar 2014 17:34:46 +0000 (18:34 +0100)] 
Export Coercible in GHC.Types (#8894)

5 years agoRefer to the coercible paper in Coercible' docs
Joachim Breitner [Fri, 14 Mar 2014 11:41:46 +0000 (12:41 +0100)] 
Refer to the coercible paper in Coercible' docs

Implements parts of #8888.

5 years agoBetter Comment [Kind-changing of (~) and Coercible]
Joachim Breitner [Fri, 14 Mar 2014 11:26:14 +0000 (12:26 +0100)] 
Better Comment [Kind-changing of (~) and Coercible]

5 years agoNote [Kind-changing of (~) and Coercible]
Joachim Breitner [Fri, 14 Mar 2014 10:28:35 +0000 (11:28 +0100)] 
Note [Kind-changing of (~) and Coercible]

5 years agoUpdate Coercible docs due to Safe Haskell adjustment
Joachim Breitner [Fri, 14 Mar 2014 08:26:12 +0000 (09:26 +0100)] 
Update Coercible docs due to Safe Haskell adjustment

This should go with [59722295bb8da8f01d37356fbed6aef7321a8195/ghc], see
bug #8826.

5 years agoAdd Since-annotation to `Coercible`
Herbert Valerio Riedel [Sat, 1 Mar 2014 10:05:45 +0000 (11:05 +0100)] 
Add Since-annotation to `Coercible`

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
5 years agoDocument Coercible in GHC.Types
Joachim Breitner [Thu, 30 Jan 2014 16:29:44 +0000 (16:29 +0000)] 
Document Coercible in GHC.Types

It is not exported from here, but haddock still uses this documentation
(and not the one from the fake GHC/Prim.hs file). So just put the user
documentation here.

5 years agoComment typo
Joachim Breitner [Thu, 30 Jan 2014 16:15:36 +0000 (16:15 +0000)] 
Comment typo

5 years agoAdd overlooked language extensions to `IntWord64.hs`
Herbert Valerio Riedel [Sun, 27 Oct 2013 15:29:28 +0000 (16:29 +0100)] 
Add overlooked language extensions to `IntWord64.hs`

This was overseen in b07b88e5d5c3ccd1508b235688f751408636c49e
as the extensions are only needed when compiling for 32-bit archs.

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
5 years agoModernize `ghc-prim.cabal` to `cabal-version>=1.10`
Herbert Valerio Riedel [Sun, 27 Oct 2013 08:37:22 +0000 (09:37 +0100)] 
Modernize `ghc-prim.cabal` to `cabal-version>=1.10`

This also removes the use of `makefileHook` in `Setup.hs` which was
dropped from the `Cabal` API

Note: This cleanups make `ghc-prim` almost a proper Cabal package;
`cabal sdist` still needs to be tweaked to change `build-type` to
`Simple`, to make the resulting ghc-prim source distribution package
self-contained.

5 years agoAdd missing `{-# LANGUAGE #-}` pragmas
Herbert Valerio Riedel [Sun, 27 Oct 2013 09:07:13 +0000 (10:07 +0100)] 
Add missing `{-# LANGUAGE #-}` pragmas

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
5 years agoAdd actual documentation for new SPEC type.
Austin Seipp [Fri, 25 Oct 2013 14:33:49 +0000 (09:33 -0500)] 
Add actual documentation for new SPEC type.

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years agoImplement SPEC for SpecConstr as a built in type.
Austin Seipp [Fri, 25 Oct 2013 11:13:55 +0000 (06:13 -0500)] 
Implement SPEC for SpecConstr as a built in type.

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years agoComments only
Jan Stolarek [Wed, 18 Sep 2013 16:08:46 +0000 (17:08 +0100)] 
Comments only

5 years agoFollow changes in comparison primops (see #6135)
Jan Stolarek [Mon, 16 Sep 2013 14:16:37 +0000 (15:16 +0100)] 
Follow changes in comparison primops (see #6135)

5 years agoAdd `{-# MINIMAL #-}` to `class Eq` and `class Ord`
Herbert Valerio Riedel [Wed, 18 Sep 2013 06:06:13 +0000 (08:06 +0200)] 
Add `{-# MINIMAL #-}` to `class Eq` and `class Ord`

This makes use of the new compiler checked minimal-complete-defintion
`{-# MINIMAL #-}` annotation (see #7633 for more details)

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
5 years agoDefine GHC.Types.Coercible
Joachim Breitner [Fri, 13 Sep 2013 16:45:35 +0000 (18:45 +0200)] 
Define GHC.Types.Coercible

This data type is required so that Coercible (which is actually a class
and is exported from GHC.Prim) has a info table etc., similar to ~

5 years agoUpdate Git repo URL in `.cabal` file
Herbert Valerio Riedel [Wed, 11 Sep 2013 13:15:01 +0000 (15:15 +0200)] 
Update Git repo URL in `.cabal` file

5 years agoChange return type for emulated 64bit comparisons
Jan Stolarek [Fri, 16 Aug 2013 07:32:34 +0000 (08:32 +0100)] 
Change return type for emulated 64bit comparisons

In the previous patch I used Int64# as a return value for
comparison primops used on 32bit machines for comparing Int64#
and Word64#. This obviously wasn't a good idea. This patch changes
return type from emulated Int64# to a native Int#.

5 years agoComparison primops return Int# (Fixes #6135)
Jan Stolarek [Sun, 14 Apr 2013 10:36:55 +0000 (12:36 +0200)] 
Comparison primops return Int# (Fixes #6135)

For a deatiled discussion of this changes please visit the wiki page:
http://hackage.haskell.org/trac/ghc/wiki/PrimBool

5 years agoadd other architecture for bswap in a form of Stg functions.
Ian Lynagh [Sun, 9 Jun 2013 11:06:07 +0000 (12:06 +0100)] 
add other architecture for bswap in a form of Stg functions.

Patch from Vincent Hanquez

6 years agoAdd word2float
Johan Tibell [Thu, 6 Dec 2012 18:58:37 +0000 (10:58 -0800)] 
Add word2float

6 years agoBump version number following new policy
Ian Lynagh [Fri, 30 Nov 2012 16:40:42 +0000 (16:40 +0000)] 
Bump version number following new policy

We now keep the HEAD version numbers as values which would be suitable
for immediate release.

6 years agoAdd comment to .cabal file saying what GHC 7.6.1 shipped with
Ian Lynagh [Fri, 30 Nov 2012 15:59:55 +0000 (15:59 +0000)] 
Add comment to .cabal file saying what GHC 7.6.1 shipped with

6 years agoAdd a test for #6026 (fixity info for primops)
Ian Lynagh [Fri, 23 Nov 2012 16:41:50 +0000 (16:41 +0000)] 
Add a test for #6026 (fixity info for primops)

6 years agoMove lazy from GHC.Base to GHC.Magic
Ian Lynagh [Tue, 13 Nov 2012 20:48:00 +0000 (20:48 +0000)] 
Move lazy from GHC.Base to GHC.Magic

6 years agoMerge documentation from inline's old primop entry
Ian Lynagh [Tue, 13 Nov 2012 19:44:34 +0000 (19:44 +0000)] 
Merge documentation from inline's old primop entry

6 years agoBump version to 0.3.0.0 ghc-7.6 ghc-7.6.1-release ghc-7.6.2-release ghc-7.6.3-release
Paolo Capriotti [Tue, 10 Jul 2012 10:31:00 +0000 (11:31 +0100)] 
Bump version to 0.3.0.0

6 years agoMove GHC.Generics to base
Jose Pedro Magalhaes [Thu, 21 Jun 2012 11:10:04 +0000 (12:10 +0100)] 
Move GHC.Generics to base

There is no real reason for it to be in ghc-prim, and it
complicates things.

6 years agoMove divInt#/modInt# from base
Ian Lynagh [Tue, 19 Jun 2012 18:21:29 +0000 (19:21 +0100)] 
Move divInt#/modInt# from base

This allows them to be shared with integer-gmp

7 years agoMove the Word type from base to ghc-prim
Ian Lynagh [Mon, 21 May 2012 22:20:55 +0000 (23:20 +0100)] 
Move the Word type from base to ghc-prim

7 years agoMinor Haddock documentation fix
Jose Pedro Magalhaes [Tue, 21 Feb 2012 11:02:06 +0000 (12:02 +0100)] 
Minor Haddock documentation fix

7 years agoAdd CTYPE pragmas
Ian Lynagh [Thu, 16 Feb 2012 13:04:32 +0000 (13:04 +0000)] 
Add CTYPE pragmas

7 years agoMerge branch 'fix#5464' of /home/staff/magal101/repos/ghc/libraries/ghc-prim into... ghc-7.4 ghc-7.4.1-release ghc-7.4.2-release
Jose Pedro Magalhaes [Mon, 26 Sep 2011 07:24:45 +0000 (09:24 +0200)] 
Merge branch 'fix#5464' of /home/staff/magal101/repos/ghc/libraries/ghc-prim into fix#5464

Solved conflicts:
GHC/Types.hs

7 years agoBreak the GHC.Generics / GHC.Types import loop.
Jose Pedro Magalhaes [Thu, 8 Sep 2011 06:08:01 +0000 (08:08 +0200)] 
Break the GHC.Generics / GHC.Types import loop.

Also related to #5464. Now GHC.Generics imports GHC.Types,
and the Generic instances for primitive types use
StandaloneDeriving.

7 years agoBreak the GHC.Generics / GHC.Types import loop.
Jose Pedro Magalhaes [Thu, 8 Sep 2011 06:08:01 +0000 (08:08 +0200)] 
Break the GHC.Generics / GHC.Types import loop.

Also related to #5464. Now GHC.Generics imports GHC.Types,
and the Generic instances for primitive types use
StandaloneDeriving.

7 years agoAdd a data type we can use to box up equality evidence for -XConstraintKind no-pred-ty
Max Bolingbroke [Tue, 6 Sep 2011 16:31:50 +0000 (17:31 +0100)] 
Add a data type we can use to box up equality evidence for -XConstraintKind

7 years agoFix return type of hs_popcntX
Daniel Fischer [Sat, 27 Aug 2011 15:41:07 +0000 (17:41 +0200)] 
Fix return type of hs_popcntX

All the hs_popcntX functions should return an StgWord in accordance with
the primop types.
I'm not sure whether the argument should also become an StgWord
(except for the 64-bit versions), the primops have type Word# -> Word#,
but we have e.g. StgWord hs_popcnt8(StgWord8 x).
StgWord8 is an unsigned char (usually, at least), but I think arguments
are passed at least word-sized to C-functions, so it probably works.
For the moment it works and passes tests, I'll ask tibbe to be sure.

7 years agoMerge GHC.Unit into GHC.Tuple, and GHC.Ordering into GHC.Types
Ian Lynagh [Fri, 26 Aug 2011 20:37:59 +0000 (21:37 +0100)] 
Merge GHC.Unit into GHC.Tuple, and GHC.Ordering into GHC.Types

7 years agoDrop bitrotted code for < 32-bit platforms
Johan Tibell [Wed, 24 Aug 2011 09:45:08 +0000 (11:45 +0200)] 
Drop bitrotted code for < 32-bit platforms

7 years ago.gitignore
Manuel M T Chakravarty [Thu, 18 Aug 2011 23:50:47 +0000 (09:50 +1000)] 
.gitignore

7 years agoAdd fallbacks for processor specific instructions (e.g. POPCNT). These fallbacks...
Johan Tibell [Wed, 20 Jul 2011 21:05:21 +0000 (23:05 +0200)] 
Add fallbacks for processor specific instructions (e.g. POPCNT). These fallbacks are referred to by code generated by GHC.

7 years agoRemove old darcs boring file
David Terei [Wed, 10 Aug 2011 19:29:48 +0000 (12:29 -0700)] 
Remove old darcs boring file

7 years agoFormatting fixes
David Terei [Mon, 8 Aug 2011 22:11:24 +0000 (15:11 -0700)] 
Formatting fixes

7 years agoUse Safe Haskell when GHC >= 7.2
David Terei [Mon, 8 Aug 2011 21:53:04 +0000 (14:53 -0700)] 
Use Safe Haskell when GHC >= 7.2

7 years agoInteger Eq and Ord instances are now in the integer package
Ian Lynagh [Fri, 22 Jul 2011 18:09:22 +0000 (19:09 +0100)] 
Integer Eq and Ord instances are now in the integer package

7 years agoUse LANGUAGE pragmas rather than OPTIONS_GHC
Ian Lynagh [Fri, 22 Jul 2011 18:09:00 +0000 (19:09 +0100)] 
Use LANGUAGE pragmas rather than OPTIONS_GHC

7 years agoMove GHC.Classes here from base
Ian Lynagh [Fri, 22 Jul 2011 16:45:01 +0000 (17:45 +0100)] 
Move GHC.Classes here from base

7 years agoFIX #5227: derive Generic only up to 7-tuples, like Data. ghc-7.2 ghc-7.2.1-release ghc-7.2.2-release
Jose Pedro Magalhaes [Thu, 9 Jun 2011 11:31:18 +0000 (13:31 +0200)] 
FIX #5227: derive Generic only up to 7-tuples, like Data.

8 years agoDon't derive Generic for tuples for now
Ian Lynagh [Fri, 27 May 2011 17:09:15 +0000 (18:09 +0100)] 
Don't derive Generic for tuples for now

It causes GHC to use vast amounts of space compiling GHC/Tuple.hs.

8 years agoDetab GHC/Tuple.hs
Ian Lynagh [Fri, 27 May 2011 15:53:34 +0000 (16:53 +0100)] 
Detab GHC/Tuple.hs

8 years agoAdd a missing "deriving Generic"
Ian Lynagh [Fri, 27 May 2011 15:52:16 +0000 (16:52 +0100)] 
Add a missing "deriving Generic"

8 years agoAdapt to the renaming of `Representable0` to `Generic`.
Jose Pedro Magalhaes [Mon, 9 May 2011 07:48:00 +0000 (09:48 +0200)] 
Adapt to the renaming of `Representable0` to `Generic`.

8 years agoAdd Representable0 instances where needed.
Jose Pedro Magalhaes [Wed, 4 May 2011 09:18:03 +0000 (11:18 +0200)] 
Add Representable0 instances where needed.

8 years agoAdd new module GHC.CString with functions relating to CString (moved from GHC.Base...
Jose Pedro Magalhaes [Tue, 3 May 2011 09:49:11 +0000 (11:49 +0200)] 
Add new module GHC.CString with functions relating to CString (moved from GHC.Base). Updated the base type modules so that the Generics flag is on (the CString functions are required because the generic representation uses strings).

8 years agoUpdate comments.
Jose Pedro Magalhaes [Fri, 29 Apr 2011 06:47:41 +0000 (08:47 +0200)] 
Update comments.

8 years agoWhitespace only.
Jose Pedro Magalhaes [Fri, 29 Apr 2011 06:44:01 +0000 (08:44 +0200)] 
Whitespace only.

8 years agoRemove old generics stuff.
Jose Pedro Magalhaes [Thu, 28 Apr 2011 12:36:22 +0000 (14:36 +0200)] 
Remove old generics stuff.

8 years agoSecond initial commit for Pedro's generic-default mechanism
simonpj [Tue, 12 Apr 2011 16:46:13 +0000 (17:46 +0100)] 
Second initial commit for Pedro's generic-default mechanism

8 years agoInitial commit for Pedro's new generic-default mechanism
simonpj [Tue, 12 Apr 2011 16:44:57 +0000 (17:44 +0100)] 
Initial commit for Pedro's new generic-default mechanism

8 years agoUpdate source-repository in the .cabal file to point to the git repo
Ian Lynagh [Tue, 5 Apr 2011 18:04:05 +0000 (19:04 +0100)] 
Update source-repository in the .cabal file to point to the git repo

8 years agoRoll back generics changes in the HEAD repos ghc-darcs-git-switchover
Ian Lynagh [Sat, 19 Feb 2011 13:32:11 +0000 (13:32 +0000)] 
Roll back generics changes in the HEAD repos

8 years agoWe should not use XGenerics in ghc-prim, for now at least.
jpm@cs.uu.nl [Fri, 4 Feb 2011 13:52:44 +0000 (13:52 +0000)] 
We should not use XGenerics in ghc-prim, for now at least.

8 years agoUse functional dependencies.
jpm@cs.uu.nl [Thu, 6 Jan 2011 15:49:20 +0000 (15:49 +0000)] 
Use functional dependencies.

8 years agoUse functional dependencies
jpm@cs.uu.nl [Thu, 6 Jan 2011 14:44:37 +0000 (14:44 +0000)] 
Use functional dependencies

8 years agoUse type families
jpm@cs.uu.nl [Wed, 15 Dec 2010 10:08:25 +0000 (10:08 +0000)] 
Use type families

8 years agoFollow GHC.Types changes
jpm@cs.uu.nl [Wed, 27 Oct 2010 12:30:53 +0000 (12:30 +0000)] 
Follow GHC.Types changes

8 years agoUpdate GHC.Generics to new generic programming library
jpm@cs.uu.nl [Mon, 18 Oct 2010 13:51:15 +0000 (13:51 +0000)] 
Update GHC.Generics to new generic programming library

8 years agoMerge GHC.Bool into GHC.Types
Ian Lynagh [Sat, 23 Oct 2010 16:04:17 +0000 (16:04 +0000)] 
Merge GHC.Bool into GHC.Types

8 years agore-instate the documentation for 'Char', which got lost at some point Haskell_2010_report_generated
Simon Marlow [Tue, 29 Jun 2010 13:39:16 +0000 (13:39 +0000)] 
re-instate the documentation for 'Char', which got lost at some point

9 years agoAdd new GHC.Magic module
Ian Lynagh [Mon, 23 Nov 2009 19:46:09 +0000 (19:46 +0000)] 
Add new GHC.Magic module

9 years agoBump version to 0.2.0.0
Ian Lynagh [Sun, 20 Sep 2009 14:19:12 +0000 (14:19 +0000)] 
Bump version to 0.2.0.0

9 years agoAdd a doc header to GHC.Types, and point at GHC.Exts
Ian Lynagh [Tue, 11 Aug 2009 14:55:31 +0000 (14:55 +0000)] 
Add a doc header to GHC.Types, and point at GHC.Exts

9 years agoUpdate to follow RTS tidyp changes
Simon Marlow [Sat, 1 Aug 2009 19:34:49 +0000 (19:34 +0000)] 
Update to follow RTS tidyp changes

9 years agoAdd a debugErrLn function, which is like debugLn except it prints to stderr
Ian Lynagh [Fri, 10 Jul 2009 00:36:35 +0000 (00:36 +0000)] 
Add a debugErrLn function, which is like debugLn except it prints to stderr

9 years agoRemove unused imports
Ian Lynagh [Tue, 7 Jul 2009 11:58:30 +0000 (11:58 +0000)] 
Remove unused imports

9 years agoRemove the Integer functions; they're now in integer-gmp instead 2009-06-25
Ian Lynagh [Mon, 15 Jun 2009 20:17:07 +0000 (20:17 +0000)] 
Remove the Integer functions; they're now in integer-gmp instead

9 years agoThe IO type has moved to GHC.Types in ghc-prim
Ian Lynagh [Sat, 20 Jun 2009 15:52:38 +0000 (15:52 +0000)] 
The IO type has moved to GHC.Types in ghc-prim

9 years agoAdd a GHC.Debug module, with debugLn :: [Char] -> IO ()
Ian Lynagh [Sat, 20 Jun 2009 16:13:57 +0000 (16:13 +0000)] 
Add a GHC.Debug module, with debugLn :: [Char] -> IO ()

9 years agoAdd missing -XTypeOperators
simonpj@microsoft.com [Tue, 2 Jun 2009 14:16:14 +0000 (14:16 +0000)] 
Add missing -XTypeOperators

10 years agoRequire Cabal version >= 1.6
Ian Lynagh [Thu, 22 Jan 2009 01:13:05 +0000 (01:13 +0000)] 
Require Cabal version >= 1.6

10 years agoAdd "bug-reports" and "source-repository" info to the Cabal file
Ian Lynagh [Wed, 21 Jan 2009 18:22:34 +0000 (18:22 +0000)] 
Add "bug-reports" and "source-repository" info to the Cabal file

10 years agooptionally include GHC.Prim in exposed-modules (for the new GHC build system)
Simon Marlow [Wed, 17 Dec 2008 10:45:42 +0000 (10:45 +0000)] 
optionally include GHC.Prim in exposed-modules (for the new GHC build system)

10 years agoAdd build-depends: rts for correct dynamic library linking
Clemens Fruhwirth [Fri, 3 Oct 2008 20:14:49 +0000 (20:14 +0000)] 
Add build-depends: rts for correct dynamic library linking

10 years agoPad version number to 0.1.0.0
Ian Lynagh [Sat, 20 Sep 2008 16:01:10 +0000 (16:01 +0000)] 
Pad version number to 0.1.0.0

10 years agoFix compilation of Setup.hs with GHC 6.9 6_10_branch_has_been_forked
Ian Lynagh [Tue, 16 Sep 2008 22:01:52 +0000 (22:01 +0000)] 
Fix compilation of Setup.hs with GHC 6.9

10 years agoIn Setup, tell haddock about GHC.Prim
Ian Lynagh [Fri, 5 Sep 2008 12:16:54 +0000 (12:16 +0000)] 
In Setup, tell haddock about GHC.Prim

10 years agoHelp haddock find ghc-prim's types by explicitly exporting them
Ian Lynagh [Wed, 3 Sep 2008 13:09:27 +0000 (13:09 +0000)] 
Help haddock find ghc-prim's types by explicitly exporting them

10 years agoMove Int, Float and Double into ghc-prim:GHC.Types
Ian Lynagh [Wed, 6 Aug 2008 19:16:02 +0000 (19:16 +0000)] 
Move Int, Float and Double into ghc-prim:GHC.Types

10 years agoAdd some GHC.Generics imports so we can find Inl etc where we need to
Ian Lynagh [Wed, 6 Aug 2008 11:06:12 +0000 (11:06 +0000)] 
Add some GHC.Generics imports so we can find Inl etc where we need to

10 years agoMove the Char datatype into ghc-prim
Ian Lynagh [Tue, 5 Aug 2008 20:30:12 +0000 (20:30 +0000)] 
Move the Char datatype into ghc-prim

10 years agoMove the [] definition from base into ghc-prim:GHC.Types
Ian Lynagh [Tue, 5 Aug 2008 18:19:09 +0000 (18:19 +0000)] 
Move the [] definition from base into ghc-prim:GHC.Types

10 years agoTuple datatypes are now in GHC.Tuple (they were in base:Data.Tuple before)
Ian Lynagh [Mon, 4 Aug 2008 15:55:00 +0000 (15:55 +0000)] 
Tuple datatypes are now in GHC.Tuple (they were in base:Data.Tuple before)

10 years agoFollow Cabal changes
Ian Lynagh [Sun, 29 Jun 2008 21:17:07 +0000 (21:17 +0000)] 
Follow Cabal changes

10 years agoUpdate .darcs-boring
Ian Lynagh [Fri, 27 Jun 2008 15:55:54 +0000 (15:55 +0000)] 
Update .darcs-boring

10 years agoUse simpleUserHooks rather than defaultUserHooks in Setup.hs
Ian Lynagh [Thu, 26 Jun 2008 11:27:45 +0000 (11:27 +0000)] 
Use simpleUserHooks rather than defaultUserHooks in Setup.hs
Cabal says that defaultUserHooks is deprecated.

10 years agoAdd GHC.Unit for the definition of the () type
Ian Lynagh [Tue, 24 Jun 2008 14:49:55 +0000 (14:49 +0000)] 
Add GHC.Unit for the definition of the () type

10 years agoFix warnings in ghc-prim modules
Ian Lynagh [Tue, 24 Jun 2008 12:26:18 +0000 (12:26 +0000)] 
Fix warnings in ghc-prim modules

10 years agoAvoid using deprecated flags
Ian Lynagh [Mon, 16 Jun 2008 14:53:34 +0000 (14:53 +0000)] 
Avoid using deprecated flags