HORIZON HASKELLDocslts/ghc-10.0.x77a86622026-10-31Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 77a8662 · 2026-10-31

  • PackageAgda-2.8.0.2
  • Exports63
  • LanguageHaskell2010
  • LicenceMIT
  • SourceHelpers.hs
valueonlyErased
  1. :: [Attr]

    The attributes, in reverse order.

  2. -> Parser Erased

Returns the value of the first erasure attribute, if any, or else the default value of type Erased.

Raises warnings for all attributes except for erasure attributes, and for multiple erasure attributes.

When given expression is e1 = e2, turn it into a named expression. Call this inside an implicit argument {e} or {{e}}, where an equality must be a named argument (rather than a cubical partial match).

Relevance

Attributes

valueapplyAttr :: LensAttribute a => Attr -> a -> Parser a

Apply an attribute to thing (usually Arg). This will fail if one of the attributes is already set in the thing to something else than the default value.

valueapplyAttrs :: LensAttribute a => [Attr] -> a -> Parser a

Apply attributes to thing (usually Arg). Expects a reversed list of attributes. This will fail if one of the attributes is already set in the thing to something else than the default value.