packages feed

haskell-src-exts-1.17.0: tests/examples/MinimalPragma.hs.prettyprinter.golden

module Main (main) where

class Eq a where
        (==) :: a -> a -> Bool
        
        (/=) :: a -> a -> Bool
        x == y = not (x /= y)
        x /= y = not (x == y)
        
        {-# MINIMAL (==) | (/=) #-}