unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* infixorder
@ 2007-01-30 13:39 oriana paro
  2007-01-30 14:43 ` infixorder Mikael Djurfeldt
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: oriana paro @ 2007-01-30 13:39 UTC (permalink / raw)
  To: guile-user

Hi. I'm learning scheme (Guile) and I have some problem with the infix order walk in a tree...
I want to write a function infixwalk that walks though a tree in infix order (left tree - node - righ tree) so that the call
(equal?
   (infixwalk
       '( (a) b ( (c) d (e) ) )
    )
    '(b a d c e)
)
returns #t.
Anyone can help me?? Thanks in advance.




------------------------------------------------------
Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom
http://click.libero.it/infostrada30gen07




_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-02-05  6:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-30 13:39 infixorder oriana paro
2007-01-30 14:43 ` infixorder Mikael Djurfeldt
2007-01-30 15:29   ` infixorder Ian Grant
2007-01-30 15:46 ` infixorder Jon Wilson
2007-02-01  5:39 ` infixorder -- more hints for Oriana, and a slightly OT but interesting consideration Luca Saiu
2007-02-05  6:41   ` Jon Wilson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).