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

Moduleplutus-tx-1.70.0.0

PlutusTx.Blueprint.Definition.Unroll

  • 1 type
  • 1 class
classclass HasBlueprintDefinition t where
#

Associated types

Instances18HasBlueprintDefinition, …
familytype family UnrollIsStuckError (x :: t) :: k where
#

Equations

  • UnrollIsStuckError x = TypeError ((((((((((('Text "Cannot unroll type '" ':<>: 'ShowType x) ':<>: 'Text "'.") ':$$: 'Text "The 'Unroll' type family is stuck because:") ':$$: 'Text " - The type may be abstract (a type variable), or") ':$$: 'Text " - It lacks a 'HasBlueprintDefinition' instance, or") ':$$: 'Text " - It lacks a 'Generic' instance for default unrolling.") ':$$: 'Text "") ':$$: 'Text "Tip: 'DefinitionsFor (UnrollAll ts)' requires all types in 'ts'") ':$$: 'Text "to be concrete at compile time. Polymorphic constraints like") ':$$: 'Text "'DefinitionsFor (UnrollAll '[a])' cannot be used as superclass") ':$$: 'Text "constraints because 'a' is not known when the class is defined.")