summaryrefslogtreecommitdiff
path: root/testsuite/tests/showIface/PragmaDocs.hs
blob: 3e7a068d71a85c74eeff9d5aa97b0564600d7665 (plain)
1
2
3
4
5
6
7
8
9
module PragmaDocs where

{-# DEPRECATED contains "Use `elem` instead." #-}
contains :: (Eq a, Foldable f) => f a -> a -> Bool
contains = flip elem

{-# warning x, y "These are useless" #-}
x = ()
y = ()