blob: e34c979258198d62ec7a235f8679850eace4253f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
{-# LANGUAGE GADTs #-}
{-# OPTIONS_GHC -W #-}
-- Produced a bogus unused-import warning in versions of GHC 6.6
module Bug ( Structure (..) ) where
import Prelude hiding( Rational )
-- Rational is exported by Prelude
import Data.Ratio ( Rational )
data Structure a where
StructCons :: Int -> Structure Int
StructRatio :: Structure Rational
|