blob: 9bf156ac6aa52db5b84e95e2be7bc58fc80348d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
{-# LANGUAGE DataKinds, PolyKinds #-}
module RepPolyRule1 where
import GHC.Exts
f :: forall rep (a :: TYPE rep). a -> a
f = undefined
{-# NOINLINE f #-}
{-# RULES "f_id" forall (x :: (a :: TYPE rep)). f x = x #-}
|