HORIZON HASKELLDocslts/ghc-9.14.xd82dee82026-10-12Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · d82dee8 · 2026-10-12

Modulecardano-addresses-4.0.2Haskell2010

Options.Applicative.Discrimination

  • 1 type
  • 2 values

Type (re-export from Cardano.Address)

2 declarations
newtypenewtype NetworkTag
#

Magic constant associated with a given network. This is mainly used in two places:

  1. In Address payloads, to discriminate addresses between networks.

  2. At the network-level, when doing handshake with nodes.

Instances6Eq, Show, Generic, NFData, ToJSON, Rep

Applicative Parser

1 declaration