blob: 2c6418d396baeb2b591e9247e4fdaa9cb267f4c5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
{-# LANGUAGE Haskell2010 #-}
module DeprecatedFunction where
-- | some documentation for foo
foo :: Int
foo = 23
{-# DEPRECATED foo "use `bar` instead" #-}
-- | some documentation for bar
bar :: Int
bar = 42
|