1
0
Fork 0

Rename utils

This commit is contained in:
Gregory Eremin 2023-01-13 00:02:20 +01:00
parent c88f6f0c60
commit 18fdc0cb34
4 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
#load "str.cma" ;;
#use "lib/file_utils.ml" ;;
#use "lib/utils.ml" ;;
let top n calories =
let topn = List.filteri (fun i _ -> i < n) calories in

View File

@ -1,4 +1,4 @@
#use "lib/file_utils.ml" ;;
#use "lib/utils.ml" ;;
type shape = Rock | Paper | Scissors
type outcome = Win | Tie | Loss

View File

@ -1,4 +1,4 @@
#use "lib/file_utils.ml" ;;
#use "lib/utils.ml" ;;
let priority_of_item c =
(* ASCII lower case is 97-122, upper case is 65-90 *)