| Lambert Meertens. Functor pulling. In Workshop on Generic Programming (WGP'98), Marstrand, Sweden, June 1998. |
....and returns the free variables in the tree. Only for the variable constructor something special has to be done, in all other cases the variables collected at the children have to be passed on to the parent. This function can be defined as an instance of a Generic Haskell library function crush [41], together with a special constructor case for variables [10] For more examples of generic traversals, see Lammel and Peyton Jones [35] The Generic Haskell code for the programs discussed in these lecture notes can be downloaded from the applications page on http: www.generic haskell. org . ....
Lambert Meertens. Functor pulling. In Workshop on Generic Programming (WGP'98), Marstrand, Sweden, June 1998.
Online articles have much greater impact More about CiteSeer.IST Add search form to your site Submit documents Feedback
CiteSeer.IST - Copyright Penn State and NEC