projects
/
ghc-prim.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
We should not use XGenerics in ghc-prim, for now at least.
[ghc-prim.git]
/
GHC
/
Unit.hs
1
2
{-# OPTIONS_GHC -XNoImplicitPrelude #-}
3
{-# OPTIONS_GHC -XNoGenerics #-}
4
5
module GHC.Unit where
6
7
import GHC.Generics ()
8
9
default ()
10
11
{-
12
The Unit type is here because GHC.PrimopWrappers needs to use it in a
13
type signature.
14
-}
15
16
-- | The unit datatype @()@ has one non-undefined member, the nullary
17
-- constructor @()@.
18
data () = ()
19