This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
14
unikernel/duniverse/result/which_result.ml
Executable file
14
unikernel/duniverse/result/which_result.ml
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
let () =
|
||||
let version =
|
||||
Scanf.sscanf Sys.argv.(1) "%d.%d" (fun major minor -> (major, minor))
|
||||
in
|
||||
let file =
|
||||
if version < (4, 03) then
|
||||
"result-as-newtype.ml"
|
||||
else
|
||||
if version < (4, 08) then
|
||||
"result-as-alias.ml"
|
||||
else
|
||||
"result-as-alias-4.08.ml"
|
||||
in
|
||||
print_string file
|
||||
Loading…
Add table
Add a link
Reference in a new issue