module Gargantext.Utils.Tuple whereimport Data.Tuple (Tuple(..))-- | Similar to-- https://hackage.haskell.org/package/base-4.19.0.0/docs/Data-Bifunctor.html#v:firstfirst :: forall a b c. (a -> c) -> Tuple a b -> Tuple c bfirst f (Tuple k v) = Tuple (f k) v