Unformatted text preview: if n < 0 then -n else n else if m < 0 then -m else m (* Problem 6 *) let greetings name = if name = "Kirill" then print_string "Greetings, Kirill." else print_string ("Hi " ^ name ^ ", welcome to CS421!") (* Problem 7 *) let triple_the_fun f n = f (f (f n))...
View Full Document
This note was uploaded on 07/01/2009 for the course CS CS421 taught by Professor Kirillmechitov during the Summer '09 term at University of Illinois, Urbana Champaign.
- Summer '09