| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Cooked.Skeleton.Anchor
Description
This module exposes the notion of Anchor used in proposals and certificates.
Synopsis
Data types
type TxSkelAnchor = Maybe (String, Maybe ByteString) Source #
A TxSkelAnchor optionally bundles an URL as a String alongside an
optional resolved page as a ByteString.
Optics
txSkelAnchorMResolvedPageAT :: AffineTraversal' TxSkelAnchor (Maybe ByteString) Source #
Focusing on the optional resolved page of a TxSkelAnchor
txSkelAnchorResolvedPageAT :: AffineTraversal' TxSkelAnchor ByteString Source #
Focusing on the existing resolved page of a TxSkelAnchor
txSkelAnchorURLAT :: AffineTraversal' TxSkelAnchor String Source #
Focusing on the URL of a TxSkelAnchor
Smart constructors
simpleURLAnchor :: String -> TxSkelAnchor Source #
Builds a simple Anchor with an URL