[ create a new paste ] login | about

Link: http://codepad.org/rQnIJhRr    [ raw code | fork ]

OCaml, pasted on Jan 4:
1
2
3
4
5
let rec multtab x y =
	let rec line y =
		if y = 0 then []
		else line (y-1) @ [x*y];
	in multtab (x-1) y @ [line y];;


Create a new paste based on this one


Comments: