| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Ouroboros.Network.Handshake.Acceptable
Synopsis
- data Accept versionData
- class Acceptable versionData where
- acceptableVersion :: versionData -> versionData -> Accept versionData
Documentation
data Accept versionData Source #
A like type which better explains its purpose.Maybe
class Acceptable versionData where Source #
Methods
acceptableVersion :: versionData -> versionData -> Accept versionData Source #
The acceptableVersion function ought to be symmetric, this guarantees
that local and remote sides will agree on the same data.