LFPL Compiler
Examples:
append.lfpl
assign.lfpl
assign1.lfpl
assign2.lfpl
call.lfpl
cons.lfpl
empty.lfpl
empty2.lfpl
empty3.lfpl
if.lfpl
if2.lfpl
insert.lfpl
leaf.lfpl
list1.lfpl
list2.lfpl
list3.lfpl
list4.lfpl
nil.lfpl
node.lfpl
reverse.lfpl
simple.lfpl
sort.lfpl
tree1.lfpl
tree2.lfpl
tree3.lfpl
void.lfpl
(* $Id: lists.lfpl,v 1.5 2000/09/25 17:45:08 da Exp $ *) (* List examples *) prog datatype tree = Leaf of int | Node of int * tree * tree def int foo(tree a, tree b) = match a with Leaf(l) -> 0 | Node(h,n1 in d1, n2 in d2) -> foo(n1,b) end