BTree_walk_preorder   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/libs/core/adt.xtm

Implementation

(bind-func BTree_walk_preorder:[void,BTree{!v}*,[void,!v]*]*
  (lambda (tree fn)
    (if (null? tree) null
        (begin
          (fn (tref tree 0))
          (BTree_walk_preorder fn (BTree_left tree))
          (BTree_walk_preorder fn (BTree_right tree))))))


Back to Index

Similar Entries

  • BTree_leaf    xtlang    /digego/extempore/tree/v0.8.9/libs/core/adt.xtm
  • BTree_left    xtlang    /digego/extempore/tree/v0.8.9/libs/core/adt.xtm
  • BTree_map    xtlang    /digego/extempore/tree/v0.8.9/libs/core/adt.xtm
  • BTree_right    xtlang    /digego/extempore/tree/v0.8.9/libs/core/adt.xtm
  • BTree_value    xtlang    /digego/extempore/tree/v0.8.9/libs/core/adt.xtm
  • BTree_walk_inorder    xtlang    /digego/extempore/tree/v0.8.9/libs/core/adt.xtm
  • BTree_walk_postorder    xtlang    /digego/extempore/tree/v0.8.9/libs/core/adt.xtm
  • Widget_find_preorder    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_walk_inorder    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_walk_postorder    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_walk_preorder    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • add_walker    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/mpi/random-walk.xtm
  • clear_walker_array    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/mpi/random-walk.xtm
  • create_walker_array    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/mpi/random-walk.xtm
  • gui_find_leaf_preorder    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • gui_render_subtree    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • initialize_walkers    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/mpi/random-walk.xtm
  • print_walker    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/mpi/random-walk.xtm
  • print_walker_array    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/mpi/random-walk.xtm
  • receive_incoming_walkers    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/mpi/random-walk.xtm
  • send_outgoing_walkers    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/mpi/random-walk.xtm
  • walk    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/mpi/random-walk.xtm
  • walker_at_index    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/mpi/random-walk.xtm