[commit: ghc-prim] ghc-generics: Initial commit for Pedro's new generic-default mechanism (1337943)
Simon Peyton Jones
simonpj at microsoft.com
Tue Apr 12 18:46:54 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/packages/ghc-prim
On branch : ghc-generics
http://hackage.haskell.org/trac/ghc/changeset/1337943435ff8769f39f53f6b1147addac3b31b7
>---------------------------------------------------------------
commit 1337943435ff8769f39f53f6b1147addac3b31b7
Author: simonpj <simonpj at cam-04-unx.europe.corp.microsoft.com>
Date: Tue Apr 12 17:44:57 2011 +0100
Initial commit for Pedro's new generic-default mechanism
>---------------------------------------------------------------
GHC/Types.hs-boot | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/GHC/Types.hs-boot b/GHC/Types.hs-boot
new file mode 100644
index 0000000..be0e3bd
--- /dev/null
+++ b/GHC/Types.hs-boot
@@ -0,0 +1,17 @@
+{-# OPTIONS_GHC -XNoImplicitPrelude #-}
+
+module GHC.Types where
+
+import GHC.Prim
+
+
+infixr 5 :
+
+data [] a = [] | a : [a]
+
+data Char = C# Char#
+
+data Int = I# Int#
+
+data Bool = False | True
+
More information about the Cvs-libraries
mailing list