make Result.t an alias of Pervasives.result
commit7fc46d356aff3f73046ccae7255ee67d49df7b51
authorMarshall Roch <mroch@fb.com>
Fri, 14 Apr 2017 21:04:17 +0000 (14 14:04 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Fri, 14 Apr 2017 21:13:39 +0000 (14 14:13 -0700)
tree0b562ff3d171de13f5ff2c14ec55bf04871843bb
parentc8877961e0e458e6a0b747e998f1ff851892635b
make Result.t an alias of Pervasives.result

Summary:
4.03 added Pervasives.result. this makes them interchangable, so you
can `open Result` without shadowing `Pervasives`.

similar change was made in core_kernel 114.01:
https://github.com/janestreet/core_kernel/blob/17d123985e7fc084e0f450f16f90399955eb4cd0/src/result.ml

Reviewed By: samwgoldman

Differential Revision: D4880305

fbshipit-source-id: 030440db8890ff7023e944e6dce9e57360e4e95e
hphp/hack/src/third-party/core/result.ml
hphp/hack/src/third-party/core/result.mli