From: Ian Lynagh Date: Tue, 5 Aug 2008 18:19:09 +0000 (+0000) Subject: Move the [] definition from base into ghc-prim:GHC.Types X-Git-Tag: 6_10_branch_has_been_forked~6 X-Git-Url: http://git.megacz.com/?p=ghc-prim.git;a=commitdiff_plain;h=3709a32fc03bc0de69a34211ca32544405e43ae4 Move the [] definition from base into ghc-prim:GHC.Types --- diff --git a/GHC/Types.hs b/GHC/Types.hs new file mode 100644 index 0000000..981cbfc --- /dev/null +++ b/GHC/Types.hs @@ -0,0 +1,9 @@ + +{-# OPTIONS_GHC -XNoImplicitPrelude #-} + +module GHC.Types where + +infixr 5 : + +data [] a = [] | a : [a] + diff --git a/ghc-prim.cabal b/ghc-prim.cabal index 0ef7a17..85811ce 100644 --- a/ghc-prim.cabal +++ b/ghc-prim.cabal @@ -18,6 +18,7 @@ Library { GHC.IntWord32 GHC.IntWord64 GHC.Tuple + GHC.Types GHC.Unit c-sources: cbits/longlong.c