Rename utils
This commit is contained in:
parent
c88f6f0c60
commit
18fdc0cb34
|
@ -1,5 +1,5 @@
|
||||||
#load "str.cma" ;;
|
#load "str.cma" ;;
|
||||||
#use "lib/file_utils.ml" ;;
|
#use "lib/utils.ml" ;;
|
||||||
|
|
||||||
let top n calories =
|
let top n calories =
|
||||||
let topn = List.filteri (fun i _ -> i < n) calories in
|
let topn = List.filteri (fun i _ -> i < n) calories in
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#use "lib/file_utils.ml" ;;
|
#use "lib/utils.ml" ;;
|
||||||
|
|
||||||
type shape = Rock | Paper | Scissors
|
type shape = Rock | Paper | Scissors
|
||||||
type outcome = Win | Tie | Loss
|
type outcome = Win | Tie | Loss
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#use "lib/file_utils.ml" ;;
|
#use "lib/utils.ml" ;;
|
||||||
|
|
||||||
let priority_of_item c =
|
let priority_of_item c =
|
||||||
(* ASCII lower case is 97-122, upper case is 65-90 *)
|
(* ASCII lower case is 97-122, upper case is 65-90 *)
|
||||||
|
|
Loading…
Reference in New Issue