HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Moduleuniplate-1.6.13Haskell2010

Data.Generics.UniplateStrOn

DEPRECATED: Use Data.Generics.Uniplate.Operations instead.

This module retained Haskell 98 compatability, but users who are happy with multi-parameter type classes should look towards Data.Generics.Biplate.

The only function missing from Data.Generics.Uniplate is fold, as it can be constructed from children and has little meaning in a multi-typed setting.

All operations, apart from childrenOn, descendOn and holesOn should perform identically to their non On counterparts.

  • 1 type
  • 11 values
  • Packageuniplate-1.6.13
  • Exports12
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceUniplateStrOn.hs
typetype BiplateType from to = from -> (Str to, Str to -> from)
#

Return all the top most children of type to within from.

If from == to then this function should return the root as the single child.