packages feed

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

{-# LANGUAGE DefaultSignatures #-}
module Main (main) where

class C a where
        f :: a -> a -> Bool
        
        default f :: (Eq a) => a -> a -> Bool
        f x y = x == y