aboutsummaryrefslogblamecommitdiff
path: root/html-test/src/DeprecatedData.hs
blob: c40ba122c14558e89d167d9b22b236bd174193bb (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15













                                   
{-# LANGUAGE TypeFamilies #-}
module DeprecatedData where

-- | type Foo
data Foo = Foo -- ^ constructor Foo
         | Bar -- ^ constructor Bar

{-# DEPRECATED Foo "Foo" #-}
{-# DEPRECATED Bar "Bar" #-}

data One = One
         | Two

{-# DEPRECATED One "One" #-}
{-# DEPRECATED Two "Two" #-}