Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let init_board (l,c) v = init_list l (init_list c v);;
- let get_cell (x,y) board = nth y (nth x (board));;
- let put_cell v (x,y) b =
- put_list (put_list v y (nth x b)) x b ;;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement