hexsha
stringlengths
40
40
size
int64
3
1.05M
ext
stringclasses
163 values
lang
stringclasses
53 values
max_stars_repo_path
stringlengths
3
945
max_stars_repo_name
stringlengths
4
112
max_stars_repo_head_hexsha
stringlengths
40
78
max_stars_repo_licenses
listlengths
1
10
max_stars_count
float64
1
191k
⌀
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
⌀
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
⌀
max_issues_repo_path
stringlengths
3
945
max_issues_repo_name
stringlengths
4
113
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
listlengths
1
10
max_issues_count
float64
1
116k
⌀
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
⌀
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
⌀
max_forks_repo_path
stringlengths
3
945
max_forks_repo_name
stringlengths
4
113
max_forks_repo_head_hexsha
stringlengths
40
78
max_forks_repo_licenses
listlengths
1
10
max_forks_count
float64
1
105k
⌀
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
⌀
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
⌀
content
stringlengths
3
1.05M
avg_line_length
float64
1
966k
max_line_length
int64
1
977k
alphanum_fraction
float64
0
1
4472905ed86c150dbf3d87321229c3b21f284b1f
664
ml
OCaml
hphp/hack/src/parser/full_fidelity_expression_parser_type.ml
thekid/hhvm
3f7d3bdde3cbab3b90dd0f156ae56445738432b1
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/parser/full_fidelity_expression_parser_type.ml
thekid/hhvm
3f7d3bdde3cbab3b90dd0f156ae56445738432b1
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/parser/full_fidelity_expression_parser_type.ml
thekid/hhvm
3f7d3bdde3cbab3b90dd0f156ae56445738432b1
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(** * Copyright (c) 2016, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the "hack" directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * *) module type Ex...
36.888889
80
0.743976
44a84e8ee03fe6a27326bebe92f0494b695a765f
15,632
ml
OCaml
tezt/manual_tests/migration_voting.ml
callistonianembrace/tezos
d7c25242bd6b0b368c731fc264a112e00f126818
[ "MIT" ]
null
null
null
tezt/manual_tests/migration_voting.ml
callistonianembrace/tezos
d7c25242bd6b0b368c731fc264a112e00f126818
[ "MIT" ]
null
null
null
tezt/manual_tests/migration_voting.ml
callistonianembrace/tezos
d7c25242bd6b0b368c731fc264a112e00f126818
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2020 Metastate AG <hello@metastate.dev> *) ...
37.486811
84
0.634212
447d196b8d49c28b531f37f0e1622cf59207b390
726
ml
OCaml
example_stream/src/line_stream.ml
holyshared/ocaml-scrap
922e2805e3f9e738cfb68ec052cb811a488f45d1
[ "MIT" ]
2
2018-07-21T13:30:51.000Z
2021-07-20T11:26:54.000Z
example_stream/src/line_stream.ml
holyshared/ocaml-scrap
922e2805e3f9e738cfb68ec052cb811a488f45d1
[ "MIT" ]
1
2017-03-30T04:24:57.000Z
2017-03-30T04:25:40.000Z
example_stream/src/line_stream.ml
holyshared/ocaml-scrap
922e2805e3f9e738cfb68ec052cb811a488f45d1
[ "MIT" ]
1
2021-07-20T11:24:30.000Z
2021-07-20T11:24:30.000Z
open Core_stream module Line_stream = Make(struct type t = string let stop_if_crlf v ~out ~stop ~continue = if v = '\n' then stop out else continue v let next t = let to_consumed buf = Consumed (Buffer.contents buf) in let eof buf = if (Buffer.length buf) <= 0 then Eof e...
25.928571
83
0.630854
4494c1d536ca17b36095b41228871f890b45d724
7,522
ml
OCaml
data/derived/comb/progs/unify/prog4489.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
4
2017-07-04T22:30:05.000Z
2021-03-29T14:44:52.000Z
data/derived/sp14/progs/unify/prog4489.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog4489.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXX XXXXXXXXXXXXX XXXXXXXXXXXXXXX XXXXXXXXXXXXXX XXXXXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXX...
26.027682
148
0.641053
4465bacec760c99ea404775a7609e15a8af61e2c
7,908
ml
OCaml
data/derived/comb/progs/unify/prog5347.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
4
2017-07-04T22:30:05.000Z
2021-03-29T14:44:52.000Z
data/derived/fa15/progs/unify/prog0443.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog0443.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXX XXXXXXXXXXXXX XXXXXXXXXXXXXXX XXXXXXXXXXXXXX XXXXXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXX...
24.635514
148
0.613682
449cc57eb63cfa1ebb8449b3fce41eabb9209d25
1,429
ml
OCaml
hphp/hack/src/utils/collections/immQueue.ml
kavoor/hhvm
4b86dba3f3dadfa05b7fac391f0b28e1f011989c
[ "PHP-3.01", "Zend-2.0" ]
9,491
2015-01-01T00:30:28.000Z
2022-03-31T20:22:11.000Z
hphp/hack/src/utils/collections/immQueue.ml
kavoor/hhvm
4b86dba3f3dadfa05b7fac391f0b28e1f011989c
[ "PHP-3.01", "Zend-2.0" ]
4,796
2015-01-01T00:26:31.000Z
2022-03-31T01:09:05.000Z
hphp/hack/src/utils/collections/immQueue.ml
kavoor/hhvm
4b86dba3f3dadfa05b7fac391f0b28e1f011989c
[ "PHP-3.01", "Zend-2.0" ]
2,126
2015-01-01T11:13:29.000Z
2022-03-28T19:58:15.000Z
(* * Copyright (c) 2017, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) type 'a t = { incoming: 'a list; outgoing: 'a list; length: int; } exception Empty let empty = { incoming = ...
22.328125
75
0.606718
448ff0b831d8b3b2699f26cd68f88795fe88ff7a
333
mli
OCaml
vendor/dune/src/lib_file_deps.mli
prashant-shahi/pesy
5562d9387ba62704f6505c505c906b82f5d73a51
[ "MIT" ]
null
null
null
vendor/dune/src/lib_file_deps.mli
prashant-shahi/pesy
5562d9387ba62704f6505c505c906b82f5d73a51
[ "MIT" ]
2
2018-01-12T08:41:59.000Z
2020-12-30T21:57:31.000Z
vendor/dune/src/lib_file_deps.mli
prashant-shahi/pesy
5562d9387ba62704f6505c505c906b82f5d73a51
[ "MIT" ]
null
null
null
module Group : sig type t = | Cmi | Cmx | Header end (** [file_deps t libs ~files] returns a list of path dependencies for all the files with extension [files] of libraries [libs]. *) val deps : Lib.L.t -> groups:Group.t list -> Dep.Set.t val deps_with_exts : (Lib.t * Group.t list) list ...
18.5
77
0.621622
4493f6c0843c18ec188ed4d87e4e5f38eb80f7f3
66
ml
OCaml
data/derived/comb/progs/unify/prog7081.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
4
2017-07-04T22:30:05.000Z
2021-03-29T14:44:52.000Z
data/derived/fa15/progs/unify/prog2265.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog2265.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let stringOfList f l = let base = f in List.fold_left f base l;;
22
64
0.69697
444f7eda6ffd106b2421f415392ad2fe59f18c3f
1,452
ml
OCaml
eval/sherrloc/easyocaml++/easyocaml-additional/exams/exam3.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
eval/sherrloc/easyocaml++/easyocaml-additional/exams/exam3.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
eval/sherrloc/easyocaml++/easyocaml-additional/exams/exam3.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
(*F*) let insert leq x = let rec f = function | [] -> [x] | y :: ys -> if leq x y then x :: y :: ys else y :: f ys in f let sort leq = let insert = insert leq in let rec f = function | [] -> [] | y :: ys -> insert y (f ys) in f let leq x y = x <= y let in...
19.36
76
0.499311
44b8842cd299b552e9c6903ad63b7aaef018b054
507
ml
OCaml
benchmarks/lambda/lambda1/submissions/sub27.ml
kupl/TestML
55a6200222303bc06349f3379894f5174d47df5d
[ "MIT" ]
5
2019-08-26T05:41:41.000Z
2020-05-03T03:58:50.000Z
benchmarks/lambda/lambda1/submissions/sub27.ml
kupl/TestML
55a6200222303bc06349f3379894f5174d47df5d
[ "MIT" ]
null
null
null
benchmarks/lambda/lambda1/submissions/sub27.ml
kupl/TestML
55a6200222303bc06349f3379894f5174d47df5d
[ "MIT" ]
2
2020-02-06T00:36:38.000Z
2020-07-27T09:53:35.000Z
exception Error of string type metro = STATION of name | AREA of name * metro | CONNECT of metro * metro and name = string let checkMetro : metro -> bool = fun metro -> let rec checkMetro : metro -> name list -> bool = fun metro -> fun env -> match metro with ST...
29.823529
74
0.552268
44e50937d2acafaea7bce42610fde61db1f95eac
2,191
ml
OCaml
hphp/hack/test/integration_ml/ide/test_diagnostics_in_closed_file.ml
jeffomatic/hhvm
afd1a0c089aff36a31b8990490366606694a2842
[ "PHP-3.01", "Zend-2.0" ]
1
2019-07-21T09:08:35.000Z
2019-07-21T09:08:35.000Z
hphp/hack/test/integration_ml/ide/test_diagnostics_in_closed_file.ml
jeffomatic/hhvm
afd1a0c089aff36a31b8990490366606694a2842
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/test/integration_ml/ide/test_diagnostics_in_closed_file.ml
jeffomatic/hhvm
afd1a0c089aff36a31b8990490366606694a2842
[ "PHP-3.01", "Zend-2.0" ]
1
2019-07-30T11:52:42.000Z
2019-07-30T11:52:42.000Z
(** * Copyright (c) 2016, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * * *) module Test = Integration_test_base let foo_name = "foo.php" let foo_contents = Printf.sprintf "<?hh // strict...
25.776471
76
0.721588
8a7f83774f930d17d1b79c32de158c0cc5345974
3,630
mli
OCaml
src/lib_shell_services/block_validator_errors.mli
noclouds/tezos-master
6c31af7ab3ea782f89f988e389e9b0860207a8d6
[ "MIT" ]
null
null
null
src/lib_shell_services/block_validator_errors.mli
noclouds/tezos-master
6c31af7ab3ea782f89f988e389e9b0860207a8d6
[ "MIT" ]
null
null
null
src/lib_shell_services/block_validator_errors.mli
noclouds/tezos-master
6c31af7ab3ea782f89f988e389e9b0860207a8d6
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
52.608696
79
0.554545
44d35e3ac3c12a1cc4853bb6ce6691299dd54f9f
1,520
ml
OCaml
benchmarks/C/formula/sol375.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
benchmarks/C/formula/sol375.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
benchmarks/C/formula/sol375.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
2
2020-02-06T00:36:38.000Z
2020-07-27T09:53:35.000Z
type formula = | True | False | Not of formula | AndAlso of formula * formula | OrElse of formula * formula | Imply of formula * formula | Equal of exp * exp and exp = | Num of int | Plus of exp * exp | Minus of exp * exp let rec eval_exp e = match e with |...
25.333333
56
0.405921
8a9ae9ed9de698b633e207eda60149b8247f77c1
834
mli
OCaml
libraries/route-53/lib/getHealthCheck.mli
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
1
2020-05-21T19:12:04.000Z
2020-05-21T19:12:04.000Z
libraries/route-53/lib/getHealthCheck.mli
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
null
null
null
libraries/route-53/lib/getHealthCheck.mli
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
null
null
null
(** "<p>Gets information about a specified health check.</p>" *) open Types[@@ocaml.warning "-33"] open Aws.BaseTypes[@@ocaml.warning "-33"] module GetHealthCheckRequest : sig type t = { health_check_id: String.t }[@@ocaml.doc "<p>A request to get information about a specified hea...
37.909091
104
0.682254
8ac0a634ff04b168648a33716422670bd704e8fe
1,078
mli
OCaml
hack/utils/relative_path.mli
thalesfsp/flow
0d5e954fcc631b3e0705b02d5305e0be65cec18e
[ "BSD-3-Clause" ]
null
null
null
hack/utils/relative_path.mli
thalesfsp/flow
0d5e954fcc631b3e0705b02d5305e0be65cec18e
[ "BSD-3-Clause" ]
2
2021-05-11T23:33:41.000Z
2022-03-28T18:43:26.000Z
hack/utils/relative_path.mli
thalesfsp/flow
0d5e954fcc631b3e0705b02d5305e0be65cec18e
[ "BSD-3-Clause" ]
null
null
null
(** * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the "hack" directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * *) open Reordere...
25.069767
80
0.705009
449e625b1680f7b02f7a062d6d744a5b2426b38c
7,968
ml
OCaml
data/derived/comb/progs/unify/prog8219.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
4
2017-07-04T22:30:05.000Z
2021-03-29T14:44:52.000Z
data/derived/fa15/progs/unify/prog3429.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog3429.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXX XXXXXXXXXXXXX XXXXXXXXXXXXXXX XXXXXXXXXXXXXX XXXXXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXX...
26.210526
148
0.639558
8a1429a8996d37446b0c5336f978aaee88b2ca46
13,479
ml
OCaml
src/services/coverage/coverage.ml
Brianzchen/flow
1c69290caca15594f0c1ee652581d8ec1bce4b47
[ "MIT" ]
null
null
null
src/services/coverage/coverage.ml
Brianzchen/flow
1c69290caca15594f0c1ee652581d8ec1bce4b47
[ "MIT" ]
null
null
null
src/services/coverage/coverage.ml
Brianzchen/flow
1c69290caca15594f0c1ee652581d8ec1bce4b47
[ "MIT" ]
null
null
null
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) (** * This module computes whether a type is considered covered. It does so by * visiting the type until a "concrete" constructor...
29.754967
97
0.578084
8a5c4e0c5e253114bb1e742a4082e6e7bd9b3e73
1,109
ml
OCaml
src/ocaml-3.12.0/testsuite/interactive/lib-signals/signals.ml
mzp/coq-for-ipad
4fb3711723e2581a170ffd734e936f210086396e
[ "MIT" ]
1
2015-01-27T00:11:26.000Z
2015-01-27T00:11:26.000Z
src/ocaml-3.12.0/testsuite/interactive/lib-signals/signals.ml
mzp/coq-for-ipad
4fb3711723e2581a170ffd734e936f210086396e
[ "MIT" ]
null
null
null
src/ocaml-3.12.0/testsuite/interactive/lib-signals/signals.ml
mzp/coq-for-ipad
4fb3711723e2581a170ffd734e936f210086396e
[ "MIT" ]
null
null
null
let rec tak (x, y, z) = if x > y then tak(tak (x-1, y, z), tak (y-1, z, x), tak (z-1, x, y)) else z let break_handler _ = print_string "Thank you for pressing ctrl-C."; print_newline(); print_string "Allocating a bit..."; flush stdout; ignore (tak(18,12,6)); print_string "done."; print_newline() le...
33.606061
70
0.650135
44a6e778f24ebadc453fe6dcf63c154ac32543b6
87,030
ml
OCaml
src/Ast.ml
hhugo/ocamlformat
1c70f7a123d211a087d20af240d4c4a85deaf821
[ "MIT" ]
6
2018-06-26T10:08:18.000Z
2021-12-17T03:01:06.000Z
src/Ast.ml
hhugo/ocamlformat
1c70f7a123d211a087d20af240d4c4a85deaf821
[ "MIT" ]
1
2022-02-08T19:16:58.000Z
2022-02-09T10:55:37.000Z
src/Ast.ml
hhugo/ocamlformat
1c70f7a123d211a087d20af240d4c4a85deaf821
[ "MIT" ]
4
2018-04-11T11:35:14.000Z
2021-12-17T03:02:13.000Z
(********************************************************************** * * * OCamlFormat * * * * Copyright (c) 2017-present, ...
36.551869
77
0.54102
aff2b2b53ecdecba482836a7c8138c74cfb7c056
907,059
ml
OCaml
Languages/GroundedRho/Join/join-kompiled/realdef.ml
Isaac-DeFrain/KFramework
54e6b833f104222ef24ea75551dc97c0ae4f588c
[ "Apache-2.0" ]
10
2019-01-18T17:09:22.000Z
2021-11-20T01:31:34.000Z
Languages/GroundedRho/Join/join-kompiled/realdef.ml
Isaac-DeFrain/KFramework
54e6b833f104222ef24ea75551dc97c0ae4f588c
[ "Apache-2.0" ]
null
null
null
Languages/GroundedRho/Join/join-kompiled/realdef.ml
Isaac-DeFrain/KFramework
54e6b833f104222ef24ea75551dc97c0ae4f588c
[ "Apache-2.0" ]
null
null
null
open Prelude open Constants open Constants.K module Def = struct let freshFunction (sort: string) (config: k) (counter: Z.t) : k = interned_bottom let evalisBool (c: k) (config: k) (guard: int) : k = let lbl = LblisBool and sort = SortBool in match c with | [Bool _] -> [Bool true] (*{| rule ``isBool(#KToken(#token("...
192.909188
5,399
0.638318
440c3df067ed8843b4c36a9c492d8cf96502a50f
5,714
ml
OCaml
iobuf/src/iobuf_intf.ml
osener/core_kernel
18b2a732657ecac73e075e81e1edd0ef797fcc7d
[ "MIT" ]
null
null
null
iobuf/src/iobuf_intf.ml
osener/core_kernel
18b2a732657ecac73e075e81e1edd0ef797fcc7d
[ "MIT" ]
null
null
null
iobuf/src/iobuf_intf.ml
osener/core_kernel
18b2a732657ecac73e075e81e1edd0ef797fcc7d
[ "MIT" ]
null
null
null
(** See {{!Iobuf}[Iobuf]} for documentation. *) open! Core (** [no_seek] and [seek] are phantom types used in a similar manner to [read] and [read_write]. *) (** Like [read]. *) type no_seek [@@deriving sexp_of] (** Like [read_write]. *) type seek = private no_seek [@@deriving sexp_of] (** Collections of acces...
33.611765
90
0.611131
449e40111ec301e2ddab50a2fc0d31ba61db1574
2,805
ml
OCaml
hphp/hack/src/typing/tast_check/shape_analysis_logger.ml
leikahing/hhvm
26617c88ca35c5e078c3aef12c061d7996925375
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/tast_check/shape_analysis_logger.ml
leikahing/hhvm
26617c88ca35c5e078c3aef12c061d7996925375
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/tast_check/shape_analysis_logger.ml
leikahing/hhvm
26617c88ca35c5e078c3aef12c061d7996925375
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) open Hh_prelude open Shape_analysis_types module A = Aast module SA = Shape_analysis module Env = Tast_env let log_events_l...
34.62963
77
0.709447
442c4cdf089d45c2d81f6fcd372775e3fed1e4d9
3,224
ml
OCaml
hack/procs/multiWorker.ml
jiaweihli/flow
cb9d84618326e0edff4bb2252378e57ef682774c
[ "MIT" ]
1
2020-07-11T17:49:59.000Z
2020-07-11T17:49:59.000Z
hack/procs/multiWorker.ml
jiaweihli/flow
cb9d84618326e0edff4bb2252378e57ef682774c
[ "MIT" ]
null
null
null
hack/procs/multiWorker.ml
jiaweihli/flow
cb9d84618326e0edff4bb2252378e57ef682774c
[ "MIT" ]
null
null
null
(* * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) module Hh_bucket = Bucket open Core_kernel (* Hide the worker type from our users *) type worker = WorkerController...
27.092437
79
0.669665
44219bc3c9c7a91dace677657db36fa5dc0b5793
1,830
ml
OCaml
hphp/hack/src/decl/decl_service.ml
Atry/hhvm
f195d3d81b52586d9b9fa2f17c05fe1bb68bcc3e
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/decl/decl_service.ml
Atry/hhvm
f195d3d81b52586d9b9fa2f17c05fe1bb68bcc3e
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/decl/decl_service.ml
Atry/hhvm
f195d3d81b52586d9b9fa2f17c05fe1bb68bcc3e
[ "PHP-3.01", "Zend-2.0" ]
1
2022-01-06T04:58:57.000Z
2022-01-06T04:58:57.000Z
(* * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) (*****************************************************************************) (* Module declaring the types in par...
30.5
79
0.49071
449d83d52c5c91f6ad76522f51a01e20a1ce1527
206
ml
OCaml
tests/test/input.ml
Eemency/learn-ocaml-autogen
27f2069da0a74cf11de2a2f7514b6cb8666ea718
[ "MIT" ]
4
2018-09-07T01:10:59.000Z
2021-02-17T07:33:47.000Z
tests/test/input.ml
Eemency/learn-ocaml-autogen
27f2069da0a74cf11de2a2f7514b6cb8666ea718
[ "MIT" ]
9
2018-07-02T13:38:09.000Z
2018-08-17T08:17:39.000Z
tests/test/input.ml
Eemency/learn-ocaml-autogen
27f2069da0a74cf11de2a2f7514b6cb8666ea718
[ "MIT" ]
1
2020-10-14T20:26:28.000Z
2020-10-14T20:26:28.000Z
open Test_lib open Report let plus (x : int) (y : int) : int = x + y let minus (x : int) (y : int) : int = x - y let times (x : int) (y : int) : int = x * y let divide (x : int) (y : int) : int = x / y
18.727273
44
0.514563
449a7f135fe86c3102d2817d52b3ae181958a726
2,389
ml
OCaml
benchmarks/C/diff/sol50.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
benchmarks/C/diff/sol50.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
benchmarks/C/diff/sol50.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
(* 4190.310 Programming Languages - Daexpgeun Lee <elnn@elnn.kr> *) type aexp = Const of int | Var of string | Power of string * int | Times of aexp list | Sum of aexp list exception InvalidArgument let diff = fun (e, x) -> let rec diff' = fun (e, x) -> match e with ...
41.189655
95
0.367518
449896fc9ba85eba7cce64353c8551a5599fb827
18,069
ml
OCaml
hphp/hack/src/server/serverArgs.ml
swalk-cavium/hhvm
9aa9b0876f15a6078daf550b1237cd339e6fed58
[ "PHP-3.01", "Zend-2.0" ]
2
2019-09-01T19:40:10.000Z
2019-10-18T13:30:30.000Z
hphp/hack/src/server/serverArgs.ml
symisc/phvm
2eca3b36b66794ef2fa9fc57ab713c4cca225694
[ "PHP-3.01", "Zend-2.0" ]
1
2018-12-16T15:39:15.000Z
2018-12-16T15:39:16.000Z
hphp/hack/src/server/serverArgs.ml
symisc/phvm
2eca3b36b66794ef2fa9fc57ab713c4cca225694
[ "PHP-3.01", "Zend-2.0" ]
1
2019-01-04T09:54:09.000Z
2019-01-04T09:54:09.000Z
(** * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) open Core_kernel include ServerArgs_sig.Types (*******************************************************************...
40.242762
108
0.643644
44600129928de6b673af1989b06fbcc9a92b5232
5,469
ml
OCaml
hphp/hack/src/typing/typing_visibility.ml
Tiththa/hhvm
d6f984c858544ae716c12413048772f831959307
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/typing_visibility.ml
Tiththa/hhvm
d6f984c858544ae716c12413048772f831959307
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/typing_visibility.ml
Tiththa/hhvm
d6f984c858544ae716c12413048772f831959307
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(** * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * **) open Core_kernel open Nast open Typing_defs open Utils module Env = Typing_env module TUtils = Typing_utils module...
33.347561
79
0.664838
44b49304a5ec79d0d0ccf455ce013999d075acf7
12,290
ml
OCaml
test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/driver/optmain.ml
dauletisataev/form-ppx
caa4311ab58b171950dce74def61133830d4740c
[ "MIT" ]
1
2020-09-24T05:03:32.000Z
2020-09-24T05:03:32.000Z
test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/driver/optmain.ml
dauletisataev/form-ppx
caa4311ab58b171950dce74def61133830d4740c
[ "MIT" ]
null
null
null
test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/driver/optmain.ml
dauletisataev/form-ppx
caa4311ab58b171950dce74def61133830d4740c
[ "MIT" ]
null
null
null
(**************************************************************************) (* *) (* OCaml *) (* *) (* ...
38.049536
84
0.666558
44c333d0832a809f6e639782f615cdd39dfaec43
738
ml
OCaml
compiler/test/parser/test.ml
sano-jin/lmn-alpha
bea1b64752547ce2a0797eb6594564e99213792e
[ "MIT" ]
2
2021-08-11T15:32:19.000Z
2021-08-11T15:53:01.000Z
compiler/test/parser/test.ml
sano-jin/lmn-alpha
bea1b64752547ce2a0797eb6594564e99213792e
[ "MIT" ]
null
null
null
compiler/test/parser/test.ml
sano-jin/lmn-alpha
bea1b64752547ce2a0797eb6594564e99213792e
[ "MIT" ]
null
null
null
(* open Util *) let run_test i code = try code |> Parse.parse |> Parse.pretty |> ( ^ ) @@ string_of_int i ^ " :\n" |> print_endline with e -> let msg = Printexc.to_string e and stack = Printexc.get_backtrace () in Printf.eprintf "Fatal error: exception %s%s\n" msg stack let run_tests = List.it...
26.357143
78
0.45393
446d2aac6c1515ec6efde20d64306ef7712f00c7
3,054
ml
OCaml
kernel/term.ml
baloone/Dedukti
6feba600b2ab0c77240eff1b47a1f1012a528407
[ "CECILL-B" ]
1
2021-02-16T04:20:19.000Z
2021-02-16T04:20:19.000Z
kernel/term.ml
rafoo/Dedukti
68d4d7e05e558f161bff1d98a6096214ebccc53c
[ "CECILL-B" ]
null
null
null
kernel/term.ml
rafoo/Dedukti
68d4d7e05e558f161bff1d98a6096214ebccc53c
[ "CECILL-B" ]
1
2021-02-03T11:53:11.000Z
2021-02-03T11:53:11.000Z
open Basic open Format (** {2 Terms/Patterns} *) type term = | Kind (* Kind *) | Type of loc (* Type *) | DB of loc * ident * int (* deBruijn *) | Const of loc * name (* Globa...
35.511628
94
0.491487
44859f89fbb67baf752ab1b1305560e3db57cd03
1,897
ml
OCaml
esy-package-config/ExportedEnv.ml
mariusschulz/esy
6dec2d1562e4aa54325368050ead0ff8fe5181ac
[ "BSD-2-Clause" ]
null
null
null
esy-package-config/ExportedEnv.ml
mariusschulz/esy
6dec2d1562e4aa54325368050ead0ff8fe5181ac
[ "BSD-2-Clause" ]
null
null
null
esy-package-config/ExportedEnv.ml
mariusschulz/esy
6dec2d1562e4aa54325368050ead0ff8fe5181ac
[ "BSD-2-Clause" ]
null
null
null
[@@@ocaml.warning "-32"] type scope = | Local | Global [@@deriving show, ord] let scope_of_yojson = function | `String "global" -> Ok Global | `String "local" -> Ok Local | _ -> Error "expected either \"local\" or \"global\"" let scope_to_yojson = function | Local -> `String "local" | Global -> `Strin...
21.804598
67
0.654191
44ad8cbe64667682bd60d7a04184731c35f54da9
1,236
ml
OCaml
src/exe/logo.ml
kwshi/slick
d19017c2fd3ddc19dd564f37d4ac4bebd565d6e6
[ "MIT" ]
null
null
null
src/exe/logo.ml
kwshi/slick
d19017c2fd3ddc19dd564f37d4ac4bebd565d6e6
[ "MIT" ]
null
null
null
src/exe/logo.ml
kwshi/slick
d19017c2fd3ddc19dd564f37d4ac4bebd565d6e6
[ "MIT" ]
null
null
null
open Containers open Fun let pp_logo_lines ppf () = let open Fmt in let h = styled (`Fg (`Hi `Green)) % any in let h' = styled `None % styled (`Fg `Green) % any in let a = any in [ sps 4 ++ h "__" ++ sps 7 ++ a "__" ; sp ++ a "___" ++ h "\\ \\" ++ a "__ __\\ \\ __" ; a "/ ___" ++ h "\\ \\" ++ a " \\/ _...
26.869565
66
0.504045
4485afc54681cd9d93880a5a55b3b4420591aa8f
8,259
ml
OCaml
src/lib_client_base_unix/client_context_unix.ml
callistonianembrace/tezos
d7c25242bd6b0b368c731fc264a112e00f126818
[ "MIT" ]
3
2021-12-16T20:28:56.000Z
2022-01-21T01:37:49.000Z
src/lib_client_base_unix/client_context_unix.ml
callistonianembrace/tezos
d7c25242bd6b0b368c731fc264a112e00f126818
[ "MIT" ]
5
2022-01-20T21:30:24.000Z
2022-03-11T14:43:56.000Z
src/lib_client_base_unix/client_context_unix.ml
callistonianembrace/tezos
d7c25242bd6b0b368c731fc264a112e00f126818
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
33.710204
79
0.588207
44e223f5f72fb6d02f303edcd0050392d51551bb
811
ml
OCaml
test/passing/tests/polytypes.ml
kmh11/ocamlformat
5424e14e04c5ff2ef934bca129cbaa9c11b2be74
[ "MIT" ]
null
null
null
test/passing/tests/polytypes.ml
kmh11/ocamlformat
5424e14e04c5ff2ef934bca129cbaa9c11b2be74
[ "MIT" ]
null
null
null
test/passing/tests/polytypes.ml
kmh11/ocamlformat
5424e14e04c5ff2ef934bca129cbaa9c11b2be74
[ "MIT" ]
null
null
null
let t1 : 'a 'b. 'a t -> b t = () let t2 : 'a 'b. 'a t________________________________ -> 'b t_______________________________________ = () let t3 : 'long 'sequence 'of_ 'universally 'quantified 'type_ 'variables 'that 'must 'wrap. 'a t________________________________________...
33.791667
77
0.721332
44819525fb3cb95c08a4c69a74105858e0cbe1fd
3,588
mli
OCaml
src/ppx_deriving_runtime.mli
labichn/ppx_deriving
3b3dadef0ee1d0091f55f255659b702e3162dba4
[ "MIT" ]
null
null
null
src/ppx_deriving_runtime.mli
labichn/ppx_deriving
3b3dadef0ee1d0091f55f255659b702e3162dba4
[ "MIT" ]
null
null
null
src/ppx_deriving_runtime.mli
labichn/ppx_deriving
3b3dadef0ee1d0091f55f255659b702e3162dba4
[ "MIT" ]
null
null
null
(** A module collecting all predefined OCaml types, exceptions and modules operating on them, so that ppx_deriving plugins operate in a well-defined environment. *) (** {2 Predefined types} *) (** The {!Predef} module is necessary in absence of a [type nonrec] construct. *) module Predef : sig type _int...
35.176471
89
0.688406
4445e226d9852d135b3183c04d720546e3d3514e
2,015
ml
OCaml
example/discochameau.ml
Firobe/Discocaml
6f59dd671fc113c610b86704efb0e8b94547cf31
[ "MIT" ]
3
2019-03-30T05:57:03.000Z
2020-04-24T12:51:18.000Z
example/discochameau.ml
Firobe/Discocaml
6f59dd671fc113c610b86704efb0e8b94547cf31
[ "MIT" ]
null
null
null
example/discochameau.ml
Firobe/Discocaml
6f59dd671fc113c610b86704efb0e8b94547cf31
[ "MIT" ]
null
null
null
open Discocaml open Discocaml.Types_t open Lwt open ExtString exception User_interrupt let history = ref [] let send_simple bot channel_id content = let message = Message.create ~content () in let%lwt result = Message.send bot ~channel_id message in Lwt.return (history := result.id :: !history) let handler bo...
34.152542
70
0.588089
44f1350db56b37484130f28be6ed2fbf9867ee73
12,976
ml
OCaml
lib/protocol_9p_server.ml
nickbetteridge/ocaml-9p
020482540c675ce63e6b736aec73f1772e9fd8c8
[ "ISC" ]
63
2015-11-22T06:24:15.000Z
2022-01-25T13:38:48.000Z
lib/protocol_9p_server.ml
nickbetteridge/ocaml-9p
020482540c675ce63e6b736aec73f1772e9fd8c8
[ "ISC" ]
70
2015-10-27T17:47:53.000Z
2022-02-06T15:40:53.000Z
lib/protocol_9p_server.ml
nickbetteridge/ocaml-9p
020482540c675ce63e6b736aec73f1772e9fd8c8
[ "ISC" ]
16
2015-10-27T12:10:59.000Z
2020-08-16T22:11:04.000Z
(* * Copyright (C) 2015 David Scott <dave.scott@unikernel.com> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS...
38.850299
125
0.601572
44ab37b503d64bec4ce007d2183a09869edbd9a2
121,171
ml
OCaml
hphp/hack/src/hackfmt/hack_format.ml
KIBEBENSON/hhvm
36ef0d11162898de284bae31d839577cc35571d2
[ "PHP-3.01", "Zend-2.0" ]
1
2019-11-01T13:46:07.000Z
2019-11-01T13:46:07.000Z
hphp/hack/src/hackfmt/hack_format.ml
KIBEBENSON/hhvm
36ef0d11162898de284bae31d839577cc35571d2
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/hackfmt/hack_format.ml
KIBEBENSON/hhvm
36ef0d11162898de284bae31d839577cc35571d2
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(* * Copyright (c) 2018, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) open Core_kernel module Env = Format_env module SourceText = Full_fidelity_source_text module Syntax = Full_fidelity...
32.731226
98
0.55354
8a8eeb623d6e23a0e7358421ef54452798518ca5
1,015
ml
OCaml
tests/newcases/list_eq.ml
awendland/myth-extended
3b5a51c905355813654dc185511257364a809929
[ "MIT" ]
null
null
null
tests/newcases/list_eq.ml
awendland/myth-extended
3b5a51c905355813654dc185511257364a809929
[ "MIT" ]
null
null
null
tests/newcases/list_eq.ml
awendland/myth-extended
3b5a51c905355813654dc185511257364a809929
[ "MIT" ]
2
2019-12-01T20:38:39.000Z
2020-12-15T11:43:21.000Z
type nat = | O | S of nat type list = | Nil | Cons of nat * list type bool = | True | False let rec nat_equal (n1 : nat) (n2 :nat) : bool = match n1 with | O -> (match n2 with | O -> True | S (m) -> False ) | S (m1) -> ( match n2 with | O -> False ...
21.595745
47
0.3133
44d702824c389e3d933d9be10b1ae8a2cb2c9cfd
4,442
ml
OCaml
wp/plugin/lib/wp_cache.ml
whst/cbat_tools
6c2d659881e6b694f97258115aac25f6c2622db4
[ "MIT" ]
null
null
null
wp/plugin/lib/wp_cache.ml
whst/cbat_tools
6c2d659881e6b694f97258115aac25f6c2622db4
[ "MIT" ]
null
null
null
wp/plugin/lib/wp_cache.ml
whst/cbat_tools
6c2d659881e6b694f97258115aac25f6c2622db4
[ "MIT" ]
null
null
null
(***************************************************************************) (* *) (* Copyright (C) 2018/2019 The Charles Stark Draper Laboratory, Inc. *) (* *) (* This...
37.327731
77
0.60851
4489c91260602232d4248658740a679c0c7b3eea
54,432
ml
OCaml
src/catala/surface/desugaring.ml
PhiSeb/catala
4a81e688ad90ffe5fd6bb0b5dffca5ebbff80d0b
[ "Apache-2.0" ]
null
null
null
src/catala/surface/desugaring.ml
PhiSeb/catala
4a81e688ad90ffe5fd6bb0b5dffca5ebbff80d0b
[ "Apache-2.0" ]
null
null
null
src/catala/surface/desugaring.ml
PhiSeb/catala
4a81e688ad90ffe5fd6bb0b5dffca5ebbff80d0b
[ "Apache-2.0" ]
null
null
null
(* This file is part of the Catala compiler, a specification language for tax and social benefits computation rules. Copyright (C) 2020 Inria, contributor: Nicolas Chataing <nicolas.chataing@ens.fr> Denis Merigoux <denis.merigoux@inria.fr> Licensed under the Apache License, Version 2.0 (the "License"); you ma...
46.404092
102
0.603652
8a8d94c1baa30cc46d9c69ae6e292ae2586e4ff4
39,192
ml
OCaml
spec/qtGui_enum.ml
copy/cuite
9ee4affc77a3da0ef990e02f8e3e01ec4a8083cd
[ "MIT" ]
null
null
null
spec/qtGui_enum.ml
copy/cuite
9ee4affc77a3da0ef990e02f8e3e01ec4a8083cd
[ "MIT" ]
null
null
null
spec/qtGui_enum.ml
copy/cuite
9ee4affc77a3da0ef990e02f8e3e01ec4a8083cd
[ "MIT" ]
null
null
null
open Mlspec.Decl let qTextLength'Type = qenum "QTextLength" "Type" [ "VariableLength"; "FixedLength"; "PercentageLength"; ] let qPaintEngine'PaintEngineFeature = qenum "QPaintEngine" "PaintEngineFeature" [ "PrimitiveTransform"; "PatternTransform"; "PixmapTransform"; "PatternBrush"; "LinearGradientFill"...
20.487193
134
0.683277
44f0c31bb65a12d697bb1a9378a08560aa90c2ae
10,939
mll
OCaml
front-end/menhir-front-end/scanners/3.2.mll
MalloyPower/parsing-python
b2bca5eed07ea2af7a2001cd4f63becdfb0570be
[ "MIT" ]
1
2020-11-26T18:53:46.000Z
2020-11-26T18:53:46.000Z
front-end/menhir-front-end/scanners/3.2.mll
MalloyPower/parsing-python
b2bca5eed07ea2af7a2001cd4f63becdfb0570be
[ "MIT" ]
null
null
null
front-end/menhir-front-end/scanners/3.2.mll
MalloyPower/parsing-python
b2bca5eed07ea2af7a2001cd4f63becdfb0570be
[ "MIT" ]
1
2019-04-11T11:27:01.000Z
2019-04-11T11:27:01.000Z
{ open Parse (*** Utility routines to get current line/col number, print a token etc. ***) exception Lexical_error of string let tok_line lexbuf = let pos = (Lexing.lexeme_start_p lexbuf) in pos.Lexing.pos_lnum let tok_col lexbuf = let pos = (Lexing.lexeme_start_p lexbuf) in (pos.Lexing.pos_cnum - pos.L...
30.301939
115
0.567694
44b4d5d6ec6d871395e2b72bb1d9b39dba6c735f
3,469
mli
OCaml
src/typing/flow_js.mli
zhangmaijun/flow
f60e2a745b06f6f0739a4e4518eb5e2481f9e011
[ "MIT" ]
20,996
2015-01-01T13:51:47.000Z
2022-03-31T17:44:01.000Z
src/typing/flow_js.mli
zhangmaijun/flow
f60e2a745b06f6f0739a4e4518eb5e2481f9e011
[ "MIT" ]
8,315
2015-01-01T19:56:43.000Z
2022-03-31T15:58:10.000Z
src/typing/flow_js.mli
zhangmaijun/flow
f60e2a745b06f6f0739a4e4518eb5e2481f9e011
[ "MIT" ]
2,338
2015-01-05T03:28:26.000Z
2022-03-26T20:40:56.000Z
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open Reason (* exceptions *) exception Not_expect_bound of string (* propagates sources to sinks following a subtype relation *) ...
26.082707
99
0.661574
8ab36d8ec936275f3e8445375de25362fa006273
1,511
ml
OCaml
day_8.ml
masazaucer/Advent_of_Code_2021
6f2059023676e89a6f43a5e36abcbc6117d6e89b
[ "MIT" ]
null
null
null
day_8.ml
masazaucer/Advent_of_Code_2021
6f2059023676e89a6f43a5e36abcbc6117d6e89b
[ "MIT" ]
null
null
null
day_8.ml
masazaucer/Advent_of_Code_2021
6f2059023676e89a6f43a5e36abcbc6117d6e89b
[ "MIT" ]
null
null
null
let set = [2; 4; 3; 7] let razdeli_na_input_output list = let rec razdeli_aux l acc = match l with | [] -> acc | x :: xs -> let output = String.split_on_char '|' x in razdeli_aux xs ((String.split_on_char ' ' (List.nth output 1)) :: acc) in razdeli_aux list [] let prestej_list list = let r...
29.627451
104
0.669755
4430b540417b03781e3468f2295ded6eebc9158d
182
ml
OCaml
data/fa15/clusters/0072.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/fa15/clusters/0072.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/fa15/clusters/0072.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
2
2019-09-19T12:24:29.000Z
2021-08-18T11:44:40.000Z
LamG (TuplePatG (fromList [EmptyPatG])) (LetG NonRec [(EmptyPatG,EmptyG)] EmptyG) fun (f , b) -> (let f = fun b -> (let x = f b in (x , x <> b)) in f) EMPTY
20.222222
81
0.510989
4422b797c6d5607264eabcbc3517ed0e5c2cc5a0
2,349
ml
OCaml
src/codegen/codegen_test2.ml
estensen/bamboo
e17575938239b60c3335badc2d366b4ba6dd1503
[ "Apache-2.0" ]
334
2016-09-14T15:37:25.000Z
2022-03-26T18:55:54.000Z
src/codegen/codegen_test2.ml
estensen/bamboo
e17575938239b60c3335badc2d366b4ba6dd1503
[ "Apache-2.0" ]
141
2016-11-14T11:12:45.000Z
2020-07-13T12:17:25.000Z
src/codegen/codegen_test2.ml
estensen/bamboo
e17575938239b60c3335badc2d366b4ba6dd1503
[ "Apache-2.0" ]
50
2016-10-07T13:09:39.000Z
2022-03-18T14:03:35.000Z
open Lexer open Lexing open Printf open Syntax open Codegen let _ = let lexbuf = Lexing.from_channel stdin in let contracts : unit Syntax.toplevel list = Parse.parse_with_error lexbuf in let contracts = Assoc.list_to_contract_id_assoc contracts in let contracts : Syntax.typ Syntax.toplevel Assoc.contract_id_as...
53.386364
104
0.696467
af00b08313532ce9ab96adc122d8a9d295f82842
1,860
mli
OCaml
sledge/lib/import/list.mli
asyard/infer
ce1ba6a8c670445edef5bde378543b39d7854ecf
[ "MIT" ]
null
null
null
sledge/lib/import/list.mli
asyard/infer
ce1ba6a8c670445edef5bde378543b39d7854ecf
[ "MIT" ]
null
null
null
sledge/lib/import/list.mli
asyard/infer
ce1ba6a8c670445edef5bde378543b39d7854ecf
[ "MIT" ]
null
null
null
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) include module type of Base.List open Import0 val pp : ?pre:(unit, unit) fmt -> ?suf:(unit, unit) fmt -> (unit, unit) fmt...
31
75
0.602688
44cf160eba48811e99f6cc51e7c07228b7444866
1,322
ml
OCaml
hphp/hack/test/integration_ml/test_modify_file.ml
divinity76/hhvm
cfde9bb3d7d49740d0ca0228e2d714637b155a13
[ "PHP-3.01", "Zend-2.0" ]
9,491
2015-01-01T00:30:28.000Z
2022-03-31T20:22:11.000Z
hphp/hack/test/integration_ml/test_modify_file.ml
divinity76/hhvm
cfde9bb3d7d49740d0ca0228e2d714637b155a13
[ "PHP-3.01", "Zend-2.0" ]
4,796
2015-01-01T00:26:31.000Z
2022-03-31T01:09:05.000Z
hphp/hack/test/integration_ml/test_modify_file.ml
divinity76/hhvm
cfde9bb3d7d49740d0ca0228e2d714637b155a13
[ "PHP-3.01", "Zend-2.0" ]
2,126
2015-01-01T11:13:29.000Z
2022-03-28T19:58:15.000Z
open Integration_test_base_types open ServerEnv module Test = Integration_test_base let foo_contents = "<?hh function g(): string { return 'a'; } " let foo_changes = "<?hh function g(): int { return 'a'; } " let test () = let env = Test.setup_server () in...
26.44
79
0.621785
44f2bdac0ac156267d63976866f74052cd5cd12c
81
ml
OCaml
data/derived/comb/progs/unify/prog3253.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
4
2017-07-04T22:30:05.000Z
2021-03-29T14:44:52.000Z
data/derived/sp14/progs/unify/prog3253.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog3253.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let pipe fs = let f a x y = y a in let base b = b in List.fold_left f base fs;;
27
79
0.62963
44c4d0c6db86cf18f6ab6e5001161c4712bb53bd
2,267
ml
OCaml
src/lib/transition_frontier_controller_tests/test_sync_handler.ml
rahulmutt/coda
7a7dbb04c4dafea860ac03e5f88e58637e8040d3
[ "Apache-2.0" ]
null
null
null
src/lib/transition_frontier_controller_tests/test_sync_handler.ml
rahulmutt/coda
7a7dbb04c4dafea860ac03e5f88e58637e8040d3
[ "Apache-2.0" ]
null
null
null
src/lib/transition_frontier_controller_tests/test_sync_handler.ml
rahulmutt/coda
7a7dbb04c4dafea860ac03e5f88e58637e8040d3
[ "Apache-2.0" ]
null
null
null
open Core open Async open Coda_base let num_breadcrumb_to_add = 3 let max_length = num_breadcrumb_to_add + 2 module Stubs = Stubs.Make (struct let max_length = max_length end) open Stubs let%test_module "Sync_handler" = ( module struct let%test "sync with ledgers from another peer via glue_sync_ledger" = ...
37.163934
79
0.581826
443648cb3200cd1f9ec08b167b905f40305e2730
27,179
ml
OCaml
src/app/rosetta/test-agent/agent.ml
phreelyfe/mina
34328cd4e9b6ac699c3330003e40976a1059ed90
[ "Apache-2.0" ]
null
null
null
src/app/rosetta/test-agent/agent.ml
phreelyfe/mina
34328cd4e9b6ac699c3330003e40976a1059ed90
[ "Apache-2.0" ]
null
null
null
src/app/rosetta/test-agent/agent.ml
phreelyfe/mina
34328cd4e9b6ac699c3330003e40976a1059ed90
[ "Apache-2.0" ]
null
null
null
(** An agent that pokes at Coda and peeks at Rosetta to see if things look alright *) open Core_kernel open Async open Rosetta_models open Rosetta_lib open Lib module Error = struct include Error let equal e1 e2 = Yojson.Safe.equal (Error.to_yojson e1) (Error.to_yojson e2) end let other_pk = "B62qoDWfBZUxKpaoQC...
38.012587
275
0.661724
448fd20fd72f90bcd1ad76145f43034e7a96a298
10,380
ml
OCaml
examples/germanSimp.ml
lyj238Gmail/newParaVerifier
5c2d49bf8e6c46c60efa53c98b0ba5c577d59618
[ "MIT" ]
3
2017-12-10T13:55:34.000Z
2019-02-13T11:49:26.000Z
examples/_build/germanSimp.ml
lyj238Gmail/newParaVerifier
5c2d49bf8e6c46c60efa53c98b0ba5c577d59618
[ "MIT" ]
null
null
null
examples/_build/germanSimp.ml
lyj238Gmail/newParaVerifier
5c2d49bf8e6c46c60efa53c98b0ba5c577d59618
[ "MIT" ]
1
2020-03-23T10:21:34.000Z
2020-03-23T10:21:34.000Z
(* This program is translated from its corresponding murphi version *) open Core.Std open Utils open Paramecium open Loach open Formula open InvFinder open Cmdline let _I = strc "I" let _S = strc "S" let _E = strc "E" let _Empty = strc "Empty" let _ReqS = strc "ReqS" let _ReqE = strc "ReqE" let _Inv = strc "Inv" l...
63.292683
761
0.621676
4476f78cbfbc20b503e639b75b26a738b9fb36f3
911
ml
OCaml
data/derived/comb/progs/unify/prog6867.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
4
2017-07-04T22:30:05.000Z
2021-03-29T14:44:52.000Z
data/derived/fa15/progs/unify/prog2051.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog2051.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let rec clone x n = if n <= 0 then [] else x :: (clone x (n - 1));; let padZero l1 l2 = (((clone 0 ((List.length l2) - (List.length l1))) @ l1), ((clone 0 ((List.length l1) - (List.length l2))) @ l2));; let rec removeZero l = match l with | [] -> [] | h::t -> if h = 0 then removeZero t else h :: t;; let big...
31.413793
76
0.545554
44dc765acfc1bf70fba6d942cd9618b531e8e1c7
15,898
ml
OCaml
Fastpack/Resolver.ml
rgrinberg/fastpack
f8c79adba69f725f51a9990a6c9f2cf7a5d633f3
[ "MIT" ]
null
null
null
Fastpack/Resolver.ml
rgrinberg/fastpack
f8c79adba69f725f51a9990a6c9f2cf7a5d633f3
[ "MIT" ]
null
null
null
Fastpack/Resolver.ml
rgrinberg/fastpack
f8c79adba69f725f51a9990a6c9f2cf7a5d633f3
[ "MIT" ]
null
null
null
module FS = FastpackUtil.FS module M = Map.Make(String) module Mock = struct type t = Empty | Mock of string let to_string mock = match mock with | Empty -> "" | Mock mock -> mock let parse s = match String.(s |> trim |> split_on_char ':') with | [] | [""] -> Result.Error (`M...
35.407572
98
0.547302
44908c8217f8c1d373de7394666f3ed21e153a59
15,393
ml
OCaml
src/flow_dot_js.ml
Brianzchen/flow
1c69290caca15594f0c1ee652581d8ec1bce4b47
[ "MIT" ]
null
null
null
src/flow_dot_js.ml
Brianzchen/flow
1c69290caca15594f0c1ee652581d8ec1bce4b47
[ "MIT" ]
null
null
null
src/flow_dot_js.ml
Brianzchen/flow
1c69290caca15594f0c1ee652581d8ec1bce4b47
[ "MIT" ]
null
null
null
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) module Js = Js_of_ocaml.Js module Sys_js = Js_of_ocaml.Sys_js (* We do not expect to encounter a keyed location in flow_dot_js *) ...
33.463043
102
0.675047
8a9a7057cb6e74ad920ec0076278c02fe8682d79
958
mli
OCaml
src/script_verify.mli
dakk/bitcoinml
16a09393f4b10961db91f30200e2926f03a8716c
[ "MIT" ]
39
2017-07-16T13:16:44.000Z
2022-01-12T20:52:04.000Z
src/script_verify.mli
dakk/bitcoinml
16a09393f4b10961db91f30200e2926f03a8716c
[ "MIT" ]
31
2017-07-16T10:24:41.000Z
2019-03-15T13:32:32.000Z
src/script_verify.mli
dakk/bitcoinml
16a09393f4b10961db91f30200e2926f03a8716c
[ "MIT" ]
2
2017-08-23T12:11:44.000Z
2018-08-14T08:46:39.000Z
(** Verification of Bitcoin scripts *) (** Abstract module for verify functions *) module Sigver : sig type t = string -> string -> bool end (** Script execution stack *) module SStack : sig type t = int Stack.t val create : unit -> t val pop : t -> int val top : t -> int val push :...
30.903226
84
0.633612
8ad14a88ef39f4a838f6232151d972b208376e69
656,294
ml
OCaml
libraries/s3/lib/types.ml
tmattio/ocaml-aws
a49d92a03a9a618dab2dc924aed2b494f9b79ae5
[ "BSD-3-Clause" ]
null
null
null
libraries/s3/lib/types.ml
tmattio/ocaml-aws
a49d92a03a9a618dab2dc924aed2b494f9b79ae5
[ "BSD-3-Clause" ]
null
null
null
libraries/s3/lib/types.ml
tmattio/ocaml-aws
a49d92a03a9a618dab2dc924aed2b494f9b79ae5
[ "BSD-3-Clause" ]
null
null
null
open Aws open Aws.BaseTypes open CalendarLib type calendar = Calendar.t module FilterRuleName = struct type t = | Prefix | Suffix let str_to_t = [("suffix", Suffix); ("prefix", Prefix)] let t_to_str = [(Suffix, "suffix"); (Prefix, "prefix")] let to_string e = Util.of_option_exn (Util.lis...
38.072514
81
0.583115
44b68190169b04f58160835b086dfe5608eedade
3,119
mli
OCaml
src/ounit/QCheck_ounit.mli
bobot/qcheck
f5fc3df3cc23a733c2408f181f2ccd2c76ca47c2
[ "BSD-2-Clause" ]
260
2015-02-17T22:25:32.000Z
2022-03-29T05:03:31.000Z
src/ounit/QCheck_ounit.mli
tmcgilchrist/qcheck
fc2aadd95f6ebb5858246c856b68f7c6e77994c7
[ "BSD-2-Clause" ]
204
2016-03-16T20:37:48.000Z
2022-03-18T10:46:05.000Z
src/ounit/QCheck_ounit.mli
tmcgilchrist/qcheck
fc2aadd95f6ebb5858246c856b68f7c6e77994c7
[ "BSD-2-Clause" ]
34
2016-12-19T17:13:12.000Z
2022-01-28T08:50:23.000Z
(** {1 Conversion of tests to OUnit Tests} @since 0.9 *) val to_ounit_test : ?verbose:bool -> ?long:bool -> ?rand:Random.State.t -> QCheck2.Test.t -> OUnit.test (** [to_ounit_test ~rand t] wraps [t] into a OUnit test @param verbose used to print information on stdout (default: [verbose()]) @param ran...
37.130952
106
0.634498
44f0a3fd18c60ec0fd439b836abf0d2510df2624
884
mli
OCaml
libraries/ssm/lib/sendAutomationSignal.mli
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
1
2020-05-21T19:12:04.000Z
2020-05-21T19:12:04.000Z
libraries/ssm/lib/sendAutomationSignal.mli
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
null
null
null
libraries/ssm/lib/sendAutomationSignal.mli
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
null
null
null
(** "<p>Sends a signal to an Automation execution to change the current behavior or status of the execution. </p>" *) open Types[@@ocaml.warning "-33"] open Aws.BaseTypes[@@ocaml.warning "-33"] module SendAutomationSignalRequest : sig type t = { automation_execution_id: String.t ; signal_type: SignalType....
34
117
0.701357
44c9c22f9cce5fdc15580817f1522b9c24515b61
12,167
ml
OCaml
analysis/test/classHierarchyEnvironmentTest.ml
HsuanTingLu/pyre-check
1cf85df830c6e20ec6abe27f5afed4bc16dcc70b
[ "MIT" ]
null
null
null
analysis/test/classHierarchyEnvironmentTest.ml
HsuanTingLu/pyre-check
1cf85df830c6e20ec6abe27f5afed4bc16dcc70b
[ "MIT" ]
null
null
null
analysis/test/classHierarchyEnvironmentTest.ml
HsuanTingLu/pyre-check
1cf85df830c6e20ec6abe27f5afed4bc16dcc70b
[ "MIT" ]
null
null
null
(* Copyright (c) 2016-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open Core open OUnit2 open Ast open Analysis open Pyre open Test let test_simple_registration context = let assert_registers sources name ...
28.900238
101
0.626038
444c91a84c5cd39d65aab761bc2829dcc5917504
161
mli
OCaml
infer/src/looper/LooperAnalysis.mli
paveon/Looper
0cdc8641f00464d5daadb6b19993ab8c66e7b737
[ "MIT" ]
4
2020-06-16T14:40:24.000Z
2021-07-28T18:02:26.000Z
infer/src/looper/LooperAnalysis.mli
paveon/looper
f7ae37cf15c60fa80c0ab5a05c5ce0d6fcabf14b
[ "MIT" ]
25
2021-02-08T13:49:24.000Z
2022-02-28T03:34:19.000Z
infer/src/looper/LooperAnalysis.mli
paveon/Looper
0cdc8641f00464d5daadb6b19993ab8c66e7b737
[ "MIT" ]
null
null
null
(* Author: Ondrej Pavela <xpavel34@stud.fit.vutbr.cz> *) open! IStd val analyze_procedure : LooperSummary.t InterproceduralAnalysis.t -> LooperSummary.t option
32.2
91
0.782609
44160161d3c2c0779b41457213b18dcae1ed3cec
73
ml
OCaml
ocaml-sources/testsuite/tests/tool-debugger/dynlink/plugin.ml
Naereen/ocaml-mots-cles-en-francais
77b1d41e3277d0356e676330f2284b8c01ba14ee
[ "MIT" ]
2
2021-03-03T15:31:36.000Z
2021-03-05T16:01:39.000Z
ocaml-sources/testsuite/tests/tool-debugger/dynlink/plugin.ml
Naereen/ocaml-mots-cles-en-francais
77b1d41e3277d0356e676330f2284b8c01ba14ee
[ "MIT" ]
2
2021-03-03T16:08:23.000Z
2021-03-03T19:31:03.000Z
ocaml-sources/testsuite/tests/tool-debugger/dynlink/plugin.ml
Naereen/ocaml-mots-cles-en-francais
77b1d41e3277d0356e676330f2284b8c01ba14ee
[ "MIT" ]
null
null
null
let do_plugin () = print_endline "hello plugin" let () = do_plugin ()
14.6
30
0.657534
44d553a142961889c7f26190c62073d7d95b9554
1,234
ml
OCaml
src/utils/terminfo.ml
art-w/merlin
7d34d0af1749d27deb6a47bdf5b4d0796528905a
[ "MIT" ]
1
2016-05-13T14:47:59.000Z
2016-05-13T14:47:59.000Z
src/utils/terminfo.ml
MarcWeber/merlin
2dbad93fcc63eff70c29d937fb67c1645deee05b
[ "MIT" ]
null
null
null
src/utils/terminfo.ml
MarcWeber/merlin
2dbad93fcc63eff70c29d937fb67c1645deee05b
[ "MIT" ]
null
null
null
(***********************************************************************) (* *) (* OCaml *) (* *) (* Xavier Ler...
47.461538
73
0.397083
44dedd51d159fbd21a6f8aee901f17ae5eb805e6
1,637
mli
OCaml
lib/opam_solve.mli
patricoferris/opam-monorepo
ba43e05c1248cace89e1d68d6a41cdb93abbdf51
[ "ISC" ]
null
null
null
lib/opam_solve.mli
patricoferris/opam-monorepo
ba43e05c1248cace89e1d68d6a41cdb93abbdf51
[ "ISC" ]
null
null
null
lib/opam_solve.mli
patricoferris/opam-monorepo
ba43e05c1248cace89e1d68d6a41cdb93abbdf51
[ "ISC" ]
null
null
null
open Import type explicit_repos = string list type opam_env = OpamVariable.variable_contents String.Map.t type switch = OpamStateTypes.unlocked OpamStateTypes.switch_state type ('context, 'diagnostics) t type switch_diagnostics type explicit_repos_diagnostics val local_opam_config_solver : (switch, switch_diagnostics...
36.377778
88
0.759927
4499b74eb6c9af35aa6a0c9b6f97f086c7f788d7
16,529
ml
OCaml
tools/mlock.ml
csgordon/herdtools7
0b068a7e84eff5edcf3ed495c640d525cd65c545
[ "CECILL-B" ]
null
null
null
tools/mlock.ml
csgordon/herdtools7
0b068a7e84eff5edcf3ed495c640d525cd65c545
[ "CECILL-B" ]
null
null
null
tools/mlock.ml
csgordon/herdtools7
0b068a7e84eff5edcf3ed495c640d525cd65c545
[ "CECILL-B" ]
null
null
null
(****************************************************************************) (* the diy7 toolsuite *) (* *) (* Jade Alglave, University College London, UK. *) (* L...
30.21755
87
0.537419
8aea891c3e928596805a00c5476fc0503ee336d6
19,821
ml
OCaml
src/app/learnocaml_exercise_main.ml
alanaceci/learn-ocaml
b26c2dd96f3ed6a5945e9ae7f900b8c136d5d2be
[ "MIT" ]
1
2020-03-27T18:52:50.000Z
2020-03-27T18:52:50.000Z
src/app/learnocaml_exercise_main.ml
alanaceci/learn-ocaml
b26c2dd96f3ed6a5945e9ae7f900b8c136d5d2be
[ "MIT" ]
null
null
null
src/app/learnocaml_exercise_main.ml
alanaceci/learn-ocaml
b26c2dd96f3ed6a5945e9ae7f900b8c136d5d2be
[ "MIT" ]
null
null
null
(* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. * Copyright (C) 2016-2018 OCamlPro. * * Learn-OCaml is distributed under the terms of the MIT license. See the * included LICENSE file for details. *) open Js_utils open Lwt.Infix open Learnocaml_common open Learnocaml_data m...
36.302198
182
0.604107
44bf43ac73576ea824a7755f3e6da12cf4ea316c
1,908
ml
OCaml
test/passing/record.ml
chrismamo1/ocamlformat
e6e1aa8728cb16868b0ad1394af3283e5473b6a2
[ "MIT" ]
null
null
null
test/passing/record.ml
chrismamo1/ocamlformat
e6e1aa8728cb16868b0ad1394af3283e5473b6a2
[ "MIT" ]
null
null
null
test/passing/record.ml
chrismamo1/ocamlformat
e6e1aa8728cb16868b0ad1394af3283e5473b6a2
[ "MIT" ]
null
null
null
let _ = {!e with a; b= c} let _ = {!(f e) with a; b= c} let _ = { !looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo with a ; b= c } let _ = { !looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo ...
20.516129
107
0.595388
447f39723395a519416f0590e660d62f954465ce
666
ml
OCaml
exercises/practice/hamming/example.ml
exercism-bot/ocaml
b72a0d29d7f31d90138eab8fc0f87e56b73ba938
[ "MIT" ]
67
2017-07-06T12:10:14.000Z
2022-03-27T02:25:06.000Z
exercises/practice/hamming/example.ml
exercism-bot/ocaml
b72a0d29d7f31d90138eab8fc0f87e56b73ba938
[ "MIT" ]
106
2017-06-19T06:21:53.000Z
2022-03-15T10:32:20.000Z
exercises/practice/hamming/example.ml
exercism-bot/ocaml
b72a0d29d7f31d90138eab8fc0f87e56b73ba938
[ "MIT" ]
36
2017-07-12T18:11:37.000Z
2021-11-30T16:05:17.000Z
open Base type nucleotide = A | C | G | T let equal (x,y) = match (x, y) with | (A, A) -> true | (C, C) -> true | (G, G) -> true | (T, T) -> true | _ -> false let to_result (l: 'a List.Or_unequal_lengths.t): ('a, string) Result.t = let open List.Or_unequal_lengths in match l with | Unequal_lengths -> Error "...
27.75
82
0.623123
448b106ca3804e8f71d86fba9a51c713a66512ea
1,242
ml
OCaml
libraries/elasticloadbalancing/lib/setLoadBalancerPoliciesForBackendServer.ml
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
1
2020-05-21T19:12:04.000Z
2020-05-21T19:12:04.000Z
libraries/elasticloadbalancing/lib/setLoadBalancerPoliciesForBackendServer.ml
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
null
null
null
libraries/elasticloadbalancing/lib/setLoadBalancerPoliciesForBackendServer.ml
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
null
null
null
open Types open Aws type input = SetLoadBalancerPoliciesForBackendServerInput.t type output = unit type error = Errors_internal.t let service = "elasticloadbalancing" let to_http service region req = let uri = Uri.add_query_params (Uri.of_string ((Aws.Util.of_option_exn (Endpoints.url_of service re...
33.567568
84
0.661836
4482e451098fc5e7356f7d22ad15a86a1d31478a
1,405
ml
OCaml
sledge/src/domain/domain_sig.ml
Himanshoo007/infer
765e0bf2f472119a2185be4d5c15731dee845465
[ "MIT" ]
null
null
null
sledge/src/domain/domain_sig.ml
Himanshoo007/infer
765e0bf2f472119a2185be4d5c15731dee845465
[ "MIT" ]
null
null
null
sledge/src/domain/domain_sig.ml
Himanshoo007/infer
765e0bf2f472119a2185be4d5c15731dee845465
[ "MIT" ]
null
null
null
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) (** Abstract Domain *) module type Dom = sig type t [@@deriving equal, sexp_of] val pp : t pp val report_fmt_thunk : t -> Fo...
23.813559
68
0.602135
441b14bdbe7d4527e2b4745b08c419a8bb121656
522
ml
OCaml
src/accessor_fn.ml
janestreet/accessor_base
2a65ee1f53104aefd2b2e12042def26b140a4f16
[ "MIT" ]
5
2020-02-17T14:38:15.000Z
2021-12-17T02:53:06.000Z
src/accessor_fn.ml
janestreet/accessor_base
2a65ee1f53104aefd2b2e12042def26b140a4f16
[ "MIT" ]
null
null
null
src/accessor_fn.ml
janestreet/accessor_base
2a65ee1f53104aefd2b2e12042def26b140a4f16
[ "MIT" ]
1
2021-12-17T02:53:46.000Z
2021-12-17T02:53:46.000Z
open! Base open! Import let negated = [%accessor Accessor.isomorphism ~get:Fn.non ~construct:Fn.non] let result = [%accessor Accessor.mapper (fun g ~f x -> f (g x))] let resulti = [%accessor Accessor.mapperi (fun g ~f x -> f x (g x))] let flipped = [%accessor Accessor.isomorphism ~get:Fn.flip ~construct:Fn.flip] incl...
32.625
78
0.670498
8adcc7e57b0ae13310d20ddc740918720a70d933
807
ml
OCaml
src/lib/pickles/endo.ml
phreelyfe/mina
34328cd4e9b6ac699c3330003e40976a1059ed90
[ "Apache-2.0" ]
2
2020-11-14T20:16:02.000Z
2021-08-19T12:44:52.000Z
src/lib/pickles/endo.ml
phreelyfe/mina
34328cd4e9b6ac699c3330003e40976a1059ed90
[ "Apache-2.0" ]
11
2021-09-02T10:10:36.000Z
2022-02-27T08:56:41.000Z
src/lib/pickles/endo.ml
phreelyfe/mina
34328cd4e9b6ac699c3330003e40976a1059ed90
[ "Apache-2.0" ]
null
null
null
open Zexe_backend module SC = Scalar_challenge open Pickles_types open Snarky_bn382.Tweedle.Endo open Import (* The endo coefficients used by the wrap proof system *) module Dee = struct open Dee let base : Backend.Tick.Field.t = base () let scalar : Backend.Tock.Field.t = scalar () let to_field (t : Challe...
25.21875
67
0.72119
44b297d4f3bd0ad3795dd61dfaefaabb226993b8
955
ml
OCaml
data/sp14/2499.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/sp14/2499.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/sp14_min/2499.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
2
2019-09-19T12:24:29.000Z
2021-08-18T11:44:40.000Z
let rec wwhile (f,b) = let rec wwhelper f b = let (b',c') = f b in if c' = false then b' else wwhelper f b' in wwhelper f b;; let fixpoint (f,b) = wwhile ((let k x = (f x) = x in f), b);; (* fix let rec wwhile (f,b) = let rec wwhelper f b = let (b',c') = f b in if c' = false then b' else wwhelper f b...
15.916667
68
0.496335
44a7f97485087b8f2443b0eb4ca6ee84106be627
7,082
mli
OCaml
src/analysis_and_optimization/Mir_utils.mli
diffeo-chris/stanc3
22b4f754dbf25b4f69430a4a016e816b30757818
[ "BSD-3-Clause" ]
17
2020-11-26T00:53:58.000Z
2021-08-20T18:56:39.000Z
src/analysis_and_optimization/Mir_utils.mli
diffeo-chris/stanc3
22b4f754dbf25b4f69430a4a016e816b30757818
[ "BSD-3-Clause" ]
null
null
null
src/analysis_and_optimization/Mir_utils.mli
diffeo-chris/stanc3
22b4f754dbf25b4f69430a4a016e816b30757818
[ "BSD-3-Clause" ]
3
2020-12-09T20:16:16.000Z
2021-05-28T04:30:28.000Z
open Core_kernel open Middle open Dataflow_types val var_declarations : ('a, 'b) Stmt.Fixed.t -> string Set.Poly.t val num_expr_value : Expr.Typed.t -> (float * string) option type bound_values = { lower: [`None | `Nonlit | `Lit of float] ; upper: [`None | `Nonlit | `Lit of float] } val trans_bounds_values : Exp...
33.093458
104
0.684835
44a3dcbc40ea9f9f7d0ba35d1a8a8314fb755172
63
ml
OCaml
data/derived/comb/progs/unify/prog0837.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
4
2017-07-04T22:30:05.000Z
2021-03-29T14:44:52.000Z
data/derived/sp14/progs/unify/prog0837.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog0837.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let rec clone x n = if n <= 0 then x else clone [x] (n - 1);;
21
61
0.539683
440f520d7dddaa4df7b86824a9007d7a733a3d57
17,313
ml
OCaml
infer/src/bufferoverrun/bufferOverrunChecker.ml
aspirin0109/infer
d397ea03d15c90394138d7227237e4990f745c8e
[ "MIT" ]
1
2019-09-11T13:16:25.000Z
2019-09-11T13:16:25.000Z
infer/src/bufferoverrun/bufferOverrunChecker.ml
aspirin0109/infer
d397ea03d15c90394138d7227237e4990f745c8e
[ "MIT" ]
null
null
null
infer/src/bufferoverrun/bufferOverrunChecker.ml
aspirin0109/infer
d397ea03d15c90394138d7227237e4990f745c8e
[ "MIT" ]
null
null
null
(* * Copyright (c) 2016-present, Programming Research Laboratory (ROPAS) * Seoul National University, Korea * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. ...
37.636957
99
0.702362
8a2d9bdfba8c359ba854e9652e3e4bd5532abfb5
1,840
ml
OCaml
libraries/rds/lib/describeDBClusters.ml
pm-mck/ocaml-aws
7912f94e73941d07d350d7f06c625853298c962c
[ "BSD-3-Clause" ]
null
null
null
libraries/rds/lib/describeDBClusters.ml
pm-mck/ocaml-aws
7912f94e73941d07d350d7f06c625853298c962c
[ "BSD-3-Clause" ]
null
null
null
libraries/rds/lib/describeDBClusters.ml
pm-mck/ocaml-aws
7912f94e73941d07d350d7f06c625853298c962c
[ "BSD-3-Clause" ]
null
null
null
open Types_internal open Aws type input = DescribeDBClustersMessage.t type output = DBClusterMessage.t type error = Errors_internal.t let service = "rds" let to_http service region req = let uri = Uri.add_query_params (Uri.of_string (Aws.Util.of_option_exn (Endpoints.url_of service region))) ...
31.724138
90
0.591848
44d7b4a1130bfc39a725ccee88cbea49f6d00ac6
73,693
ml
OCaml
src/parser/estree_translator.ml
gpetiot/flow
52ca4ffe1a95eadd784b4764ef1ab8dd529bfaea
[ "MIT" ]
null
null
null
src/parser/estree_translator.ml
gpetiot/flow
52ca4ffe1a95eadd784b4764ef1ab8dd529bfaea
[ "MIT" ]
null
null
null
src/parser/estree_translator.ml
gpetiot/flow
52ca4ffe1a95eadd784b4764ef1ab8dd529bfaea
[ "MIT" ]
null
null
null
(* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) module Ast = Flow_ast module type Config = sig val include_locs : bool end module Translate (Impl : Translator_intf.S) (Confi...
37.946962
102
0.567503
44c519fcb7c3ce549e3d71e7a6c98055acba17c7
3,031
mli
OCaml
src/front/ast/parser.mli
ArthurPV/lily
fa1b06dda40a842a05b4da33191d67daa3fd465e
[ "MIT" ]
5
2021-05-14T02:31:42.000Z
2022-02-24T03:17:42.000Z
src/front/ast/parser.mli
ArthurPV/blade
fa1b06dda40a842a05b4da33191d67daa3fd465e
[ "MIT" ]
4
2022-02-01T04:29:31.000Z
2022-03-01T18:42:02.000Z
src/front/ast/parser.mli
ArthurPV/lily
fa1b06dda40a842a05b4da33191d67daa3fd465e
[ "MIT" ]
null
null
null
open Ast open LilyFront.Token open LilyFront.Error module ParserUtil : sig val next_token : ast -> unit val previous_token : ast -> unit val get_next_token : ast -> (token, error_id) result val get_previous_token : ast -> (token, error_id) result val is_end_line : ast -> bool val assert_eq_toke...
44.573529
78
0.683603
8ad19e2fdc0db93b411eefd4cb849a7a802bc2e2
361
mli
OCaml
types/envelope_id.mli
janestreet/async_smtp
37d1b7ab58edd925ab6b277d23b59b8cb1c17bc8
[ "MIT" ]
38
2015-03-18T14:49:01.000Z
2021-12-17T02:52:50.000Z
types/envelope_id.mli
janestreet/async_smtp
37d1b7ab58edd925ab6b277d23b59b8cb1c17bc8
[ "MIT" ]
3
2016-01-04T11:35:14.000Z
2019-10-25T01:32:40.000Z
types/envelope_id.mli
janestreet/async_smtp
37d1b7ab58edd925ab6b277d23b59b8cb1c17bc8
[ "MIT" ]
7
2016-01-02T15:55:14.000Z
2021-12-17T02:53:29.000Z
open! Core type t [@@deriving sexp_of] val to_string : t -> string val of_string : string -> t val create : unit -> t val urlbase64_encode_float : ?length:int -> float -> t include Comparable.S_plain with type t := t include Hashable.S_plain with type t := t module Stable : sig module V1 : sig type nonrec t...
18.05
54
0.686981
4414fe55c7ae7cc74b01c9ee144342436f42aeb2
782
mli
OCaml
src/services/autocomplete/autocompleteService_js.mli
mochja/flow
f5351e5ece186468278f5a94a5c59f00315243c1
[ "MIT" ]
1
2020-11-02T02:15:55.000Z
2020-11-02T02:15:55.000Z
src/services/autocomplete/autocompleteService_js.mli
mochja/flow
f5351e5ece186468278f5a94a5c59f00315243c1
[ "MIT" ]
1
2021-09-02T18:19:09.000Z
2021-09-02T18:19:09.000Z
src/services/autocomplete/autocompleteService_js.mli
mochja/flow
f5351e5ece186468278f5a94a5c59f00315243c1
[ "MIT" ]
null
null
null
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) type autocomplete_service_result = | AcResult of { results: ServerProt.Response.Completion.t; errors_to_log: string l...
25.225806
68
0.714834
44d86cd3a78db85aafd5cf2fad37f86a4464dedf
72,803
ml
OCaml
bootstrap/src/basis/ordmap.ml
jasone/Hemlock
39f3f981b2cb37246cdbb9b0e6c1f58f2ecbdaf9
[ "MIT" ]
null
null
null
bootstrap/src/basis/ordmap.ml
jasone/Hemlock
39f3f981b2cb37246cdbb9b0e6c1f58f2ecbdaf9
[ "MIT" ]
null
null
null
bootstrap/src/basis/ordmap.ml
jasone/Hemlock
39f3f981b2cb37246cdbb9b0e6c1f58f2ecbdaf9
[ "MIT" ]
null
null
null
(* AVL tree implementation of ordered maps, based on the join operation. The join-based approach is both work-optimal and highly parallelizeable. Just Join for Parallel Ordered Sets Guy E. Blelloch, Daniel Ferizovic, and Yihan Sun SPAA '16 DOI: http://dx.doi.org/10.1145/2935764.2935768 http...
29.028309
175
0.497438
445b21c2d3e95301da8821e4e638ae08ee7c6974
2,478
ml
OCaml
src/dune_rules/test_rules.ml
jackprogramsjp/dune
a181b937c20c706f24ba1d17021593b0087ac574
[ "MIT" ]
null
null
null
src/dune_rules/test_rules.ml
jackprogramsjp/dune
a181b937c20c706f24ba1d17021593b0087ac574
[ "MIT" ]
null
null
null
src/dune_rules/test_rules.ml
jackprogramsjp/dune
a181b937c20c706f24ba1d17021593b0087ac574
[ "MIT" ]
null
null
null
open! Dune_engine open Import open! No_io let rules (t : Dune_file.Tests.t) ~sctx ~dir ~scope ~expander ~dir_contents = let test_kind (loc, name) = let files = Dir_contents.text_files dir_contents in let expected_basename = name ^ ".expected" in if String.Set.mem files expected_basename then `Expec...
33.04
81
0.542373
445b5fc77aea967844dd25e81ab8adb7eb3210c0
59,636
ml
OCaml
src/ocaml/typer_403/typing/short_paths.ml
bluddy/merlin
cdb6b7100dce8f02970d1b69f3a68fe498ec22b4
[ "MIT" ]
null
null
null
src/ocaml/typer_403/typing/short_paths.ml
bluddy/merlin
cdb6b7100dce8f02970d1b69f3a68fe498ec22b4
[ "MIT" ]
null
null
null
src/ocaml/typer_403/typing/short_paths.ml
bluddy/merlin
cdb6b7100dce8f02970d1b69f3a68fe498ec22b4
[ "MIT" ]
null
null
null
open Short_paths_graph module Desc = Desc module Rev_deps : sig type t val create : unit -> t val extend_up_to : t -> Dependency.t -> unit val get : t -> Dependency.t -> Dependency.Set.t val add : t -> source:Dependency.t -> target:Dependency.t -> unit val add_alias : t -> source:Dependency.t -> ta...
31.771977
83
0.574971
447418799c847d69210d1f458ac1646a7ec1f4f8
1,678
ml
OCaml
libraries/ec2/lib/createSecurityGroup.ml
UnrealAkama/ocaml-aws
6947ff1acc4c911702d25b462bb6640cd70997d4
[ "BSD-3-Clause" ]
null
null
null
libraries/ec2/lib/createSecurityGroup.ml
UnrealAkama/ocaml-aws
6947ff1acc4c911702d25b462bb6640cd70997d4
[ "BSD-3-Clause" ]
null
null
null
libraries/ec2/lib/createSecurityGroup.ml
UnrealAkama/ocaml-aws
6947ff1acc4c911702d25b462bb6640cd70997d4
[ "BSD-3-Clause" ]
null
null
null
open Types open Aws type input = CreateSecurityGroupRequest.t type output = CreateSecurityGroupResult.t type error = Errors_internal.t let service = "ec2" let to_http service region req = let uri = Uri.add_query_params (Uri.of_string (Aws.Util.of_option_exn (Endpoints.url_of service region))) (Li...
27.508197
86
0.616806
44b0f5baa0ccd71612d8e8e6b225899078d44856
1,282
mli
OCaml
libraries/route-53/lib/listTagsForResources.mli
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
1
2020-05-21T19:12:04.000Z
2020-05-21T19:12:04.000Z
libraries/route-53/lib/listTagsForResources.mli
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
null
null
null
libraries/route-53/lib/listTagsForResources.mli
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
null
null
null
(** "<p>Lists tags for up to 10 health checks or hosted zones.</p> <p>For information about using tags for cost allocation, see <a href=\"https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html\">Using Cost Allocation Tags</a> in the <i>AWS Billing and Cost Management User Guide</i>.</p>" *) o...
49.307692
318
0.708268
44fae056acb99077829e8d27fecdf123f5961225
3,470
ml
OCaml
tests/benchmarks/r_type/termination/CE-1CFA04.ml
LinerSu/DART_IT
2bdd046f912d761278ee7387f487a2809053220e
[ "BSD-3-Clause" ]
7
2020-06-12T09:32:16.000Z
2020-10-05T09:04:07.000Z
tests/benchmarks/r_type/termination/CE-1CFA04.ml
nyu-acsys/drift2
2bdd046f912d761278ee7387f487a2809053220e
[ "BSD-3-Clause" ]
null
null
null
tests/benchmarks/r_type/termination/CE-1CFA04.ml
nyu-acsys/drift2
2bdd046f912d761278ee7387f487a2809053220e
[ "BSD-3-Clause" ]
2
2021-04-05T12:25:11.000Z
2021-05-14T09:31:24.000Z
let rec bot _ = bot () let fail _ = assert false let rec c7_COEFFICIENT_1128 = 0 let rec c6_COEFFICIENT_1126 = 0 let rec c5_COEFFICIENT_1125 = 0 let rec c4_COEFFICIENT_1123 = 0 let rec c3_COEFFICIENT_1120 = 0 let rec c2_COEFFICIENT_1118 = 0 let rec c1_COEFFICIENT_1117 = 0 let rec c0_COEFFICIEN...
55.079365
459
0.782997
44b49357853db54da97841734960d2f5e07391b3
21,144
ml
OCaml
data/derived/comb/progs/cnstr/prog0370.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
4
2017-07-04T22:30:05.000Z
2021-03-29T14:44:52.000Z
data/derived/sp14/progs/cnstr/prog0370.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/cnstr/prog0370.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXX...
32.62963
208
0.641742
44d3cad29951e6665d569b5d60fec9a79ce9d3a8
4,344
ml
OCaml
hphp/hack/src/utils/relative_path.ml
xtaofb/hhvm
5a5d2787039965fa12d36d30820a724a5c0f041d
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/utils/relative_path.ml
xtaofb/hhvm
5a5d2787039965fa12d36d30820a724a5c0f041d
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/utils/relative_path.ml
xtaofb/hhvm
5a5d2787039965fa12d36d30820a724a5c0f041d
[ "PHP-3.01", "Zend-2.0" ]
1
2021-01-29T08:44:22.000Z
2021-01-29T08:44:22.000Z
(* * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) open Hh_prelude open Reordered_argument_collections open Utils open String_utils type prefix = | Root | Hhi |...
22.984127
78
0.649401
8a94ae11a8f77fabb5889e89d4a11d6db90468ed
5,887
ml
OCaml
src/bin_node/main.ml
bikallem/tezos
34eb0fd5cb977cc04c3648d91d16e6210de8c8e3
[ "MIT" ]
8
2021-11-02T13:06:58.000Z
2021-11-18T19:07:33.000Z
src/bin_node/main.ml
bikallem/tezos
34eb0fd5cb977cc04c3648d91d16e6210de8c8e3
[ "MIT" ]
14
2020-05-07T15:51:28.000Z
2022-02-06T10:11:51.000Z
src/bin_node/main.ml
bikallem/tezos
34eb0fd5cb977cc04c3648d91d16e6210de8c8e3
[ "MIT" ]
3
2021-01-06T00:06:10.000Z
2021-05-31T18:07:55.000Z
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
42.65942
79
0.628503
444a8a476295ff480b981e983a7e72c8a9842c3e
120,389
ml
OCaml
src/typing/type.ml
vikr01/flow
b594c0b0c035670c4a139a006ec76e0f07cc7c66
[ "MIT" ]
null
null
null
src/typing/type.ml
vikr01/flow
b594c0b0c035670c4a139a006ec76e0f07cc7c66
[ "MIT" ]
null
null
null
src/typing/type.ml
vikr01/flow
b594c0b0c035670c4a139a006ec76e0f07cc7c66
[ "MIT" ]
null
null
null
(** * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open Reason open Utils_js (******************************************************************************) (* Types ...
35.088604
114
0.649769
44549850688c475f68f84f662b16bdfffe7b9150
3,610
mli
OCaml
common/fact.mli
Rjected/iron
dfb106cb82abf5d16e548d4ee4f419d0994d3644
[ "Apache-2.0" ]
null
null
null
common/fact.mli
Rjected/iron
dfb106cb82abf5d16e548d4ee4f419d0994d3644
[ "Apache-2.0" ]
null
null
null
common/fact.mli
Rjected/iron
dfb106cb82abf5d16e548d4ee4f419d0994d3644
[ "Apache-2.0" ]
null
null
null
(** Facts are propositions about scopes that can be asserted or retracted by authorized asserters. *) open! Core open! Import (** A scope is a set of key-value pairs describing the domain over which a particular fact is declared to be true. E.g: {v ((rev a73c238d8ed) (projection live) (pts_type reg...
27.557252
88
0.64626
44b08124edb2f6d2c62cf08e89eace220943e0f3
3,713
mli
OCaml
src/dune_rules/command.mli
esope/dune
a79a071739b9537da8f9dc236a964793979da849
[ "MIT" ]
null
null
null
src/dune_rules/command.mli
esope/dune
a79a071739b9537da8f9dc236a964793979da849
[ "MIT" ]
1
2019-09-17T12:49:47.000Z
2019-09-17T12:49:47.000Z
src/dune_rules/command.mli
staronj/dune
cf0ceccef1e177625b9361323bd7a3401a988d45
[ "MIT" ]
null
null
null
(** Command line arguments specification *) open Import (** This module implements a small DSL to specify the command line argument of a program as well as the dependencies and targets of the program at the same time. For instance to represent the argument of [ocamlc -o src/foo.exe src/foo.ml], one m...
33.754545
80
0.660921
44a4ccc3e149245b95612ebf5dc7674d4d26fe3c
560
ml
OCaml
src/lib/marlin_plonk_bindings/tweedle_fq_plonk_oracles/marlin_plonk_bindings_tweedle_fq_oracles.ml
milkey-mouse/mina
ebeee239b923519ff3c10fb5051de8aa2e018639
[ "Apache-2.0" ]
null
null
null
src/lib/marlin_plonk_bindings/tweedle_fq_plonk_oracles/marlin_plonk_bindings_tweedle_fq_oracles.ml
milkey-mouse/mina
ebeee239b923519ff3c10fb5051de8aa2e018639
[ "Apache-2.0" ]
null
null
null
src/lib/marlin_plonk_bindings/tweedle_fq_plonk_oracles/marlin_plonk_bindings_tweedle_fq_oracles.ml
milkey-mouse/mina
ebeee239b923519ff3c10fb5051de8aa2e018639
[ "Apache-2.0" ]
null
null
null
open Marlin_plonk_bindings_types type t = Marlin_plonk_bindings_tweedle_fq.t Oracles.t external create_raw : Marlin_plonk_bindings_tweedle_fq_urs.Poly_comm.t array -> Marlin_plonk_bindings_tweedle_fq_verifier_index.Raw.t -> Marlin_plonk_bindings_tweedle_fq_proof.t -> t = "caml_tweedle_fq_plonk_oracles_cr...
31.111111
59
0.832143
8a23f186be4b2685fdb17cd8d3ba9d002a562564
2,622
ml
OCaml
src/ppx/entry.ml
gasche/mutaml
9b1915c48c59142f2ee3df06d0438081ec1496aa
[ "BSD-2-Clause" ]
28
2021-12-05T19:23:47.000Z
2021-12-09T06:56:12.000Z
src/ppx/entry.ml
gasche/mutaml
9b1915c48c59142f2ee3df06d0438081ec1496aa
[ "BSD-2-Clause" ]
3
2021-12-06T21:22:51.000Z
2021-12-07T09:51:25.000Z
src/ppx/entry.ml
gasche/mutaml
9b1915c48c59142f2ee3df06d0438081ec1496aa
[ "BSD-2-Clause" ]
2
2021-12-06T10:46:37.000Z
2021-12-06T10:54:41.000Z
(** Helper module for command line interface *) module CLI = struct (* this part is primarily for the CLI *) let seed = ref None let mut_rate = ref None let gadt = ref None let invalid_rate rate = rate < 0 || rate > 100 let set_seed s = (seed := Some s) let set_rate rate = if invalid_rate rat...
39.134328
108
0.688787
44bf1e918dd6f520867d59dd99a31a1a32bf80de
3,707
ml
OCaml
src/opam0install2nix/opam0install2nix.ml
vapourismo/opam2nix
380e9e91f431ca98f847ecd96b6a6d71a6436f0f
[ "MIT" ]
1
2022-02-27T23:04:08.000Z
2022-02-27T23:04:08.000Z
src/opam0install2nix/opam0install2nix.ml
vapourismo/opam2nix
380e9e91f431ca98f847ecd96b6a6d71a6436f0f
[ "MIT" ]
null
null
null
src/opam0install2nix/opam0install2nix.ml
vapourismo/opam2nix
380e9e91f431ca98f847ecd96b6a6d71a6436f0f
[ "MIT" ]
null
null
null
open Opam_0install module Solver = Solver.Make (Dir_context) module Options = struct open Cmdliner let req body infos = Arg.(opt (some body) None infos) let many body infos = Arg.(pos_all body [] infos) type t = { packages_dir : string ; targets : string list ; test_targets : string list } ...
26.478571
90
0.644456
8ad32c34010ce36b7d163a5bd0684d7a92733783
1,148
ml
OCaml
hphp/hack/src/client/clientEnv.ml
robocoder/hhvm
b5fe4eec09c160f4a291faf55629b4b9bbffe661
[ "PHP-3.01", "Zend-2.0" ]
1
2015-02-12T07:24:28.000Z
2015-02-12T07:24:28.000Z
hphp/hack/src/client/clientEnv.ml
robocoder/hhvm
b5fe4eec09c160f4a291faf55629b4b9bbffe661
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/client/clientEnv.ml
robocoder/hhvm
b5fe4eec09c160f4a291faf55629b4b9bbffe661
[ "PHP-3.01", "Zend-2.0" ]
1
2015-06-16T05:47:12.000Z
2015-06-16T05:47:12.000Z
(** * Copyright (c) 2014, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the "hack" directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * *) type client_...
24.425532
80
0.764808
447f7cddbeb114617e205ba179a261adadb1a9cd
6,941
ml
OCaml
src/typing/gc_js.ml
skeggse/flow
49ab125ee158a2ac8ca675cff7460606a938f568
[ "MIT" ]
1
2018-12-18T19:19:16.000Z
2018-12-18T19:19:16.000Z
src/typing/gc_js.ml
skeggse/flow
49ab125ee158a2ac8ca675cff7460606a938f568
[ "MIT" ]
null
null
null
src/typing/gc_js.ml
skeggse/flow
49ab125ee158a2ac8ca675cff7460606a938f568
[ "MIT" ]
1
2018-11-26T06:49:40.000Z
2018-11-26T06:49:40.000Z
(** * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open Constraint open Type module ALocMap = Utils_js.ALocMap module P = Type.Polarity module Marked = Marked.IdMarked (** Garbage colle...
37.317204
94
0.654949