hackage-security-0.5.3.0: Hackage security library

Safe HaskellNone
LanguageHaskell2010

Hackage.Security.Util.Pretty

Description

Producing human-reaadable strings

Synopsis

Documentation

class Pretty a where Source #

Produce a human-readable string

Minimal complete definition

pretty

Methods

pretty :: a -> String Source #

Instances

Pretty DeserializationError Source # 
Pretty TargetPath Source # 
Pretty RootUpdated Source # 
Pretty VerificationError Source # 
Pretty SomeRemoteError Source # 
Pretty UpdateFailure Source # 
Pretty LogMessage Source # 
Pretty CachedFile Source # 
Pretty InvalidFileInIndex Source # 
Pretty LocalFileCorrupted Source # 
Pretty InvalidPackageException Source # 
SomePretty f => Pretty (Some f) Source # 

Methods

pretty :: Some f -> String Source #

Pretty (Path Tar) Source # 

Methods

pretty :: Path Tar -> String Source #

Pretty (Path HomeDir) Source # 
Pretty (Path Absolute) Source # 
Pretty (Path Relative) Source # 
Pretty (Path Unrooted) Source # 
Pretty (Path CacheRoot) Source # 
Pretty (Path IndexRoot) Source # 
Pretty (Path RepoRoot) Source # 
Pretty (IndexFile dec) Source # 

Methods

pretty :: IndexFile dec -> String Source #

Pretty (RemoteTemp typ) Source # 

Methods

pretty :: RemoteTemp typ -> String Source #

Pretty (RemoteFile fs typ) Source # 

Methods

pretty :: RemoteFile fs typ -> String Source #