ex1 1¶
Basic Info¶
Functional Programming
└── Lab ML
└── 0328
└── ex1 1.sml
Preview¶
(*Write a function that prints a list of integers*)
fun printList(nil) = ()
| printList(x::xs) = (
print(Int.toString(x));
print("\n");
printList(xs)
);