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.
:: a typeCtrl KGHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05
Moduleuniplate-1.6.13Haskell2010
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.
module Data.Generics.UniplateStr
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.
Return the children of a type. If to == from then it returns the
original element (in contrast to children)
Used for defining instances UniplateFoo a => UniplateFoo [a]