Multiply long version by mrpingouin

open Num#load"nums.cma"#load"str.cma"let(+)x f=f x;;while 1=1do read_line()+Str.split(Str.regexp", ")+List.map num_of_string+List.fold_left( */)(Int 1)+string_of_num+Printf.printf"%s\n"done

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page