aboutsummaryrefslogtreecommitdiff
path: root/html-test/src/DeprecatedClass.hs
blob: 357f64e495a6494c6c8b7b2129b17e480b9a297f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{-# LANGUAGE Haskell2010 #-}
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" #-}