ghc-exactprint-0.5.0.0: tests/examples/ghc8/T8799.hs
{-# LANGUAGE FlexibleContexts #-}
module T8555 where
import Data.Coerce
foo :: Coercible a b => b -> a
foo = coerce
bar :: (Coercible a b, Coercible b c) => b -> c -> a
bar b c = coerce c
{-# LANGUAGE FlexibleContexts #-}
module T8555 where
import Data.Coerce
foo :: Coercible a b => b -> a
foo = coerce
bar :: (Coercible a b, Coercible b c) => b -> c -> a
bar b c = coerce c