OCAMLC = ocamlopt -g -rectypes
 LIB = unix.cmxa str.cmxa
-UTILS = parser.cmx console.cmx listx.cmx util.cmx pure.cmx num.cmx
+UTILS = util.cmx parser.cmx console.cmx listx.cmx pure.cmx num.cmx
 
 all: a.out test4.out
        # test.out
 
  (48 <= n && n <= 90) || (95 <= n && n <= 122) ;;\r
 let isSpace c = c = ' ' || c = '\n' || c = '\t' ;;\r
 \r
-let rec index_of x =\r
-  function\r
-  | [] -> raise (Failure "index_of: Not Found")\r
-  | h::t -> if x = h then 0 else 1 + index_of x t\r
-;;\r
 (* FIXME *)\r
 let mk_var' (bound, free) x =\r
   if List.mem x bound\r
-  then free, mk_var (index_of x bound)\r
+  then free, mk_var (Util.index_of x bound)\r
   else if List.mem x free\r
-       then free, mk_var (List.length bound + index_of x free)\r
+       then free, mk_var (List.length bound + Util.index_of x free)\r
        else (free @ [x]), mk_var (List.length bound + List.length free)\r
 ;;\r
 \r