[ create a new paste ] login | about

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

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


Create a new paste based on this one


Comments: