aboutsummaryrefslogtreecommitdiff
path: root/html-test/src/DeprecatedClass.hs
blob: 018904abbd4faf81c98509cf60d361849a11c475 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
module DeprecatedClass where

-- | some class
class SomeClass a where
  -- | documentation for foo
  foo :: a -> a

{-# DEPRECATED SomeClass "SomeClass" #-}
{-# DEPRECATED foo "foo" #-}

class SomeOtherClass a where
  bar :: a -> a

{-# DEPRECATED SomeOtherClass "SomeOtherClass" #-}
{-# DEPRECATED bar "bar" #-}