Advertisement
Guest User

Untitled

a guest
Oct 14th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. let init_board (l,c) v = init_list l (init_list c v);;
  2.  
  3. let get_cell (x,y) board = nth y (nth x (board));;
  4.  
  5. let put_cell v (x,y) b =
  6. put_list (put_list v y (nth x b)) x b ;;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement