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 (* this one is not a list of ints *) datatype list = Nil | Cons of <> * list def int foo(list l,list m) = match l with Nil -> 0 | Cons(h,t in d) -> foo(t,m) end