Branco
11-03-2003, 06:29 PM
what i wanna know is how to refer to all the elements to a list in the next exampe:
let rec concat = function
[] -> []
|[n] -> n
|[f;<what ever it be>] -> f @ (concat <watever it be>);;
im tryingo to define List.concat like a function and have that problem, can anyone help me :(
let rec concat = function
[] -> []
|[n] -> n
|[f;<what ever it be>] -> f @ (concat <watever it be>);;
im tryingo to define List.concat like a function and have that problem, can anyone help me :(