> > data Foo = Foo Int String
> 
> and you're looking for Ints and transforming them, it will 
> also recurse 
> into the strings and look at every character, because it 
> doesn't know that 

Hm. That could be. I think the problem is that segment is
> data Segemnt = Comp [Segment] Attributes

and 'everywhere (mkT f) seg' would also jump into the attributes,
which is waisted effort.

-- Markus
 

_______________________________________________
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to