Skip to Content.
Sympa Menu

coq-club - [Coq-Club] Making a List into a Tree with Structural Recursion

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] Making a List into a Tree with Structural Recursion


chronological Thread 
  • From: roconnor AT theorem.ca
  • To: Coq Club <coq-club AT pauillac.inria.fr>
  • Subject: [Coq-Club] Making a List into a Tree with Structural Recursion
  • Date: Fri, 16 Dec 2005 07:38:20 -0500 (EST)
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>

Does anyone know of a nice way of converting a list into a complete binary
tree using structural recursion such that the order is preserved?  Perhaps
more importantly, is there a way to deduce such a function?

-- 
Russell O'Connor                                      <http://r6.ca/>
``All talk about `theft,''' the general counsel of the American Graphophone
Company wrote, ``is the merest claptrap, for there exists no property in
ideas musical, literary or artistic, except as defined by statute.''




Archive powered by MhonArc 2.6.16.

Top of Page