Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let rec trace matrix =
- match matrix with
- | [] -> 0
- | x::xs -> (List.head x) + trace (List.map (fun row -> List.tail row) xs)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement