This preview shows page 1. Sign up to view the full content.
Unformatted text preview: v (* move_cursor c x y returns a new cursor identical to c except that * c points to (x, y), and (x,y) is marked as visited *) val move_cursor: cursor -> int -> int -> cursor v (* get_word c returns the string that c has traversed. *) val get_word: cursor -> string v (* unvisited_neighbors returns all unvisited points next to the cursor's * current location, as a list of coordinates *) val unvisited_neighbors: cursor -> (int * int) list...
View Full Document
This note was uploaded on 10/25/2009 for the course CS 3110 at Cornell University (Engineering School).