utop # #require "result";;
utop # Result.Ok () = Pervasives.Ok ();;
- : bool = true
utop # #require "core_kernel";;
utop # Core_kernel.Core_result.Ok () = Pervasives.Ok ();;
Error: The constructor Pervasives.Ok belongs to the variant type result
but a constructor was expected belonging to the variant type
Core_kernel.Core_result.t = Result_lib.Result.result
I'm using 4.03.0 with:
4.03.0 switch