1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 22:01:46 +03:00

We don't even need to define our own #.

This commit is contained in:
Patrick Thomson 2019-09-20 16:50:25 -04:00
parent 803817bc92
commit aa61e7f565

View File

@ -55,6 +55,7 @@ import Data.Hashable as X (Hashable, hash, hashUsing, hashWithSalt)
import Data.Hashable.Lifted as X (Hashable1(..), hashWithSalt1)
import Data.Monoid as X (First (..), Last (..), Monoid (..))
import Data.Monoid.Generic as X
import Data.Profunctor.Unsafe
import Data.Proxy as X (Proxy (..))
import Data.Semigroup as X (Semigroup (..))
import Data.Traversable as X
@ -85,6 +86,3 @@ eitherM :: Applicative f => (a -> f b) -> Either a b -> f b
eitherM f = either f pure
{-# INLINE eitherM #-}
(#.) :: Coercible b c => (b -> c) -> (a -> b) -> (a -> c)
(#.) _ = coerce
{-# INLINE (#.) #-}