(no subject)

cs tseng dunnoeh@hotmail.com
Sun, 19 Aug 2001 22:41:47 +1200


<html><div style='background-color:'><DIV>Does anyone know how to replace or take out a node from a tree structure ? </DIV>
<DIV>PLZ help me!!</DIV>
<DIV>&nbsp;</DIV>
<DIV></DIV>data Tree = One|Two|Three|Four| 
<DIV></DIV>Not Tree|Or Tree Tree|And Tree Tree 
<DIV></DIV>
<P>deriving (Show,Eq,Ord) </P>
<P>&nbsp;</P>
<DIV></DIV>
<DIV></DIV>
<P>takeTree 3 (And One (Not( Not Two))) = Not Two </P>
<P>&nbsp;</P>
<DIV></DIV>
<DIV></DIV>replaceTree Three 3 (And One (Not( Not Two))) = And One Three</div><br clear=all><hr>Get your FREE download of MSN Explorer at <a href='http://go.msn.com/bql/hmtag_itl_EN.asp'>http://explorer.msn.com</a><br></html>