--
-----------------------------------------------------------------------------
-module Data.Generics.Schemes (
+module Data.Generics.Schemes (
everywhere,
everywhere',
everywhereBut,
everywhereM,
somewhere,
- everything,
- listify,
+ everything,
+ listify,
something,
- synthesize,
- gsize,
- glength,
- gdepth,
- gcount,
- gnodecount,
- gtypecount,
- gfindtype
+ synthesize,
+ gsize,
+ glength,
+ gdepth,
+ gcount,
+ gnodecount,
+ gtypecount,
+ gfindtype
) where
-- use gmapQ to recurse into immediate subterms;
-- use ordinary foldl to reduce list of intermediate results
--
-everything k f x
+everything k f x
= foldl k (f x) (gmapQ (everything k f) x)