app/Main.hs:20:31: error:
Not in scope: type constructor or class ‘Z.Credentials’
NB: the module ‘Network.Simple.TCP.TLS’ does not export ‘Credentials’.
Suggested fix:
Perhaps use one of these:
‘Z.Credential’ (imported from Network.Simple.TCP.TLS),
‘T.Credentials’ (imported from Network.TLS),
‘T.Credential’ (imported from Network.TLS)
|
20 | client :: CertificateStore -> Z.Credentials -> NS.HostName
| ^^^^^^^^^^^^^
app/Main.hs:20:31: error: Not in scope: type constructor or class ‘Z.Credentials’ NB: the module ‘Network.Simple.TCP.TLS’ does not export ‘Credentials’. Suggested fix: Perhaps use one of these: ‘Z.Credential’ (imported from Network.Simple.TCP.TLS), ‘T.Credentials’ (imported from Network.TLS), ‘T.Credential’ (imported from Network.TLS) | 20 | client :: CertificateStore -> Z.Credentials -> NS.HostName | ^^^^^^^^^^^^^