haskell-tools-refactor-1.0.1.1: examples/Decl/InstanceSpec.hs
module Decl.InstanceSpec where
data Foo a = Foo a
instance (Eq a) => Eq (Foo a) where
{-# SPECIALIZE instance Eq (Foo Char) #-}
Foo a == Foo b = a == bmodule Decl.InstanceSpec where
data Foo a = Foo a
instance (Eq a) => Eq (Foo a) where
{-# SPECIALIZE instance Eq (Foo Char) #-}
Foo a == Foo b = a == b