{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE TypeApplications #-}
{-# OPTIONS_GHC -Wno-redundant-constraints #-}
module Cardano.Ledger.SafeHash
{-# DEPRECATED "Use `Cardano.Ledger.Hashes` instead" #-} (
SafeHash,
SafeToHash (..),
HashAnnotated,
hashAnnotated,
unsafeMakeSafeHash,
castSafeHash,
extractHash,
indexProxy,
)
where
import Cardano.Ledger.Hashes
import Data.Proxy
indexProxy :: forall x i. HashAnnotated x i => x -> Proxy i
indexProxy :: forall x i. HashAnnotated x i => x -> Proxy i
indexProxy x
_ = forall {k} (t :: k). Proxy t
Proxy @i
{-# DEPRECATED indexProxy "As useless and unused" #-}