-1
let minus = function
| Int.min_value, _ | Int.max_value, _ | _, Int.min_value | _, Int.max_value -> 0
| x, y -> x - y
Error: Parse error: [module_longident] expected after "." (in [module_longident])这个功能有什么问题?
我看不出有什么问题。
我Core.Std
这样做在utop
打开