(* filename.sml *) (* Name: <submitter's name(s)> * Program: <e.g. 1,2, etc> * Date submitted: <e.g. 01/04/02> *) (* top-level comment briefly describing purpose and contents of file *)
(* foo: int -> int list * "foo x" returns a list of the prime factors of x in ascending * order. Assumes x > 0. Raises Domain if x <= 0. *) fun foo x = ...