HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Moduleuniplate-1.6.13Haskell2010

Data.Generics.Str

This module provides the Str data type, which is used by the underlying uniplate and biplate methods. It should not be used directly under normal circumstances.

  • 1 type
  • 6 values
  • Packageuniplate-1.6.13
  • Exports7
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceStr.hs

The Data Type

7 declarations
datadata Str a
#

Constructors

Instances5Functor, Foldable, Traversable, Eq, Show
  • Functor StrDefined in uniplate-1.6.13 · Data.Generics.Str
  • Foldable StrDefined in uniplate-1.6.13 · Data.Generics.Str
  • Traversable StrDefined in uniplate-1.6.13 · Data.Generics.Str
  • Eq a => Eq (Str a)Defined in uniplate-1.6.13 · Data.Generics.Str
  • Show a => Show (Str a)Defined in uniplate-1.6.13 · Data.Generics.Str
valuestrType :: Str a -> a
#

Take the type of the method, will crash if called

valuestrStructure :: Str a -> ([a], [a] -> Str a)
#

Transform a Str to a list, and back again, in a structure preserving way. The output and input lists must be equal in length.