gistlib
(* Function to find the maximum value in a list *) let max_value list = match list with | [] -> failwith "Empty list!" | h :: t -> List.fold_left max h t 161 chars6 lines
(* Function to find the maximum value in a list *) let max_value list = match list with | [] -> failwith "Empty list!" | h :: t -> List.fold_left max h t
gistlibby LogSnag