1 2 3 4 5 6 7
{-# LANGUAGE Haskell2010 #-} module DeprecatedFunction2 where foo :: Int foo = 23 {-# DEPRECATED foo "use bar instead" #-}