我试图在OCAML中增加两个int类型,我不确定我可能做错了什么
let prime = Int64.of_string("0x100000002b2") in
let temp = ref prime in
hash := Int64.mul(!temp,prime);
我收到错误
Error: This expression has type 'a * 'b
but an expression was expected of type int64
有关如何解决此问题的任何建议?
更新
我从here
引用了这个方法我很好奇这意味着什么
val mul : int64 -> int64 -> int64
Multiplication.
我们如何知道此方法需要多少参数?