Skip to content

Instantly share code, notes, and snippets.

@cleverca22
Created July 9, 2022 23:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cleverca22/c902364d3b0e0f3ff328ca1a996775ce to your computer and use it in GitHub Desktop.
Save cleverca22/c902364d3b0e0f3ff328ca1a996775ce to your computer and use it in GitHub Desktop.
λ> :t FromSomeType
FromSomeType :: c a => AsType a -> (a -> b) -> FromSomeType c b
λ> :t AsSigningKey
AsSigningKey :: AsType a -> AsType (SigningKey a)
λ> :t AsPaymentKey
AsPaymentKey :: AsType PaymentKey
λ> :t APaymentSigningKey
APaymentSigningKey :: SigningKey PaymentKey -> SomeWitness
λ> :t AsPaymentExtendedKey
AsPaymentExtendedKey :: AsType PaymentExtendedKey
λ> :t APaymentExtendedSigningKey
APaymentExtendedSigningKey
:: SigningKey PaymentExtendedKey -> SomeWitness
λ> :t readSigningKeyFileAnyOf
readSigningKeyFileAnyOf
:: [FromSomeType
cardano-api-1.33.0:Cardano.Api.SerialiseBech32.SerialiseAsBech32 b]
-> [FromSomeType HasTextEnvelope b]
-> SigningKeyFile
-> IO (Either (FileError InputDecodeError) b)
λ>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment