aboutsummaryrefslogtreecommitdiff
path: root/html-test/src/DeprecatedRecord.hs
blob: 9fe0240d57ce63e3a93e941860d5f877d8af38de (plain) (blame)
1
2
3
4
5
6
7
8
9
10
{-# LANGUAGE Haskell2010 #-}
module DeprecatedRecord where

-- | type Foo
data Foo = Foo {
  fooName  :: String -- ^ some name
, fooValue :: Int    -- ^ some value
}

{-# DEPRECATED fooValue "do not use this" #-}