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