projects
/
ghc-prim.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
976881b78396e7585c87818f4374294b2efb93d3
[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