Guest User

Untitled

a guest
Oct 17th, 2012
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. let cycle () : int deque =
  2. let q = deque_12 () in
  3. begin match (q.head,q.tail) with
  4. | (Some x, Some y) -> (x.prev <- Some y; y.next <- Some x)
  5. | (_,_) -> failwith "Error"
  6. end
  7. q
Advertisement
Add Comment
Please, Sign In to add comment