Hey all, I’m working through some OCaml learning resources and bumped into a compiler error I don’t know how to interpret. I’m sure my code’s doing all kindsa silly things but I’m not here to ask for implementation help or fixes. Just curious what this *
means in (int * char)
in the function signature reported by the compiler below.
Error: The implementation nucleotide_count.ml
does not match the interface .test.eobjs/byte/nucleotide_count.cmi:
Values do not match:
val count_nucleotide : string -> char -> (int * char, char) result
is not included in
val count_nucleotide : string -> char -> (int, char) result
Thanks for any help you can offer