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

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 2b27632 · 2026-10-31

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.

Contents
  1. The Data Type
Synopsis
  • Packageuniplate-1.6.13
  • Exports7
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceStr.hs

The Data Type

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.