packages feed

haskell-tools-builtin-refactorings-1.0.0.0: examples/TH/Splice/UseImported.hs

{-# LANGUAGE TemplateHaskell #-}
module TH.Splice.UseImported where

data T a = T a

$([d|
  instance Show a => Show (T a) where show = undefined
  instance (Eq a, Show a) => Eq (T a) where (==) = undefined
  |])