Advertisement
Guest User

Untitled

a guest
Dec 18th, 2016
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
OCaml 0.14 KB | None | 0 0
  1. let possible_squares_by_path n m l = match l with
  2.     | [] -> []
  3.     | h::t -> List.filter (fun c -> not (List.mem c l)) (possible_squares n m h)
  4. ;;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement