ghc-exactprint-0.5.3.1: tests/examples/ghc80/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