iwk #2397(2007/08/22 14:20 GMT) [ OCaml ] Rating-1/1=-1.00
1 2 3 4 5 6 7 8
#light let rec diff = function | [] -> failwith "invalid argument" | x::[] -> failwith "invalid argument" | x::x'::[] -> (x'-x)::[] | x::x'::xs -> (x'-x)::diff (x'::xs) let xs = [3;1;4;1;5;9;2;6;5]
Rating-1/1=-1.00-0+
1 reply [ reply ]
iwk #2399(2007/08/22 14:25 GMT) [ OCaml ] Rating0/0=0.00
修正。
see: #2383
1 2 3 4 5 6 7
#light let rec diff = function | [] -> [] | x::[] -> [] | x::x'::xs -> (x'-x)::diff (x'::xs) let xs = [3;1;4;1;5;9;2;6;5]
Rating0/0=0.00-0+
[ reply ]
iwk
#2397()
[
OCaml
]
Rating-1/1=-1.00
Rating-1/1=-1.00-0+
1 reply [ reply ]