Difference between revisions of "Tying the Knot"
Jump to navigation
Jump to search
Misterbeebee (talk | contribs) |
|||
Line 14: | Line 14: | ||
[[Category:Code]] |
[[Category:Code]] |
||
[[Category:Idioms]] |
[[Category:Idioms]] |
||
+ | |||
+ | == See Also == |
||
+ | http://haskell.org/wikisnapshot/TyingTheKnot.html |
Revision as of 20:13, 15 December 2007
Introduction
This example illustrates different ways to define recursive data structures. To demonstrate the different techniques we show how to solve the same problem---writing an interpreter for a simple programming language---in three different ways. This is a nice example because, (i) it is interesting, (ii) the abstract syntax of the language contains mutually recursive structures, and (iii) the interpreter illustrates how to work with the recursive structures.
(It would be useful to have some more text describing the examples.)