theory Scratch imports Pure begin ML \fun test s = writeln ("This is a test: " ^ s)\ end