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
af6b472f8a86a3f581aa53626ec0fa397b4c9f79
7,990
ml
OCaml
src/unsigned.ml
yallop/ocaml-integers
325d22ff4c716b12f50fa238e6af98d4f712c744
[ "MIT" ]
22
2016-09-19T13:02:54.000Z
2016-09-27T15:55:04.000Z
src/unsigned.ml
yallop/ocaml-integers
325d22ff4c716b12f50fa238e6af98d4f712c744
[ "MIT" ]
null
null
null
src/unsigned.ml
yallop/ocaml-integers
325d22ff4c716b12f50fa238e6af98d4f712c744
[ "MIT" ]
1
2016-09-27T05:06:07.000Z
2016-09-27T05:06:07.000Z
(* * Copyright (c) 2013 Jeremy Yallop. * * This file is distributed under the terms of the MIT License. * See the file LICENSE for details. *) (* Boxed unsigned types *) module type Basics = sig type t val add : t -> t -> t val sub : t -> t -> t val mul : t -> t -> t val div : t -> t -> t val rem : t...
30.265152
72
0.607009
af3728af5ba2b21eef7b0114bd76580c3d915560
1,314
ml
OCaml
runtime/codec.ml
ygrek/extprot
3235a6a3a80efc05888c9514b7c9d807dcb39046
[ "MIT" ]
110
2015-01-25T05:22:36.000Z
2021-11-15T12:44:26.000Z
runtime/codec.ml
tonyg/extprot
f089d6160833d4d0d6c7dbcc1cae43d8963d291f
[ "MIT" ]
24
2015-04-29T05:13:40.000Z
2020-04-21T18:57:39.000Z
runtime/codec.ml
tonyg/extprot
f089d6160833d4d0d6c7dbcc1cae43d8963d291f
[ "MIT" ]
5
2015-06-04T19:05:32.000Z
2019-12-24T19:12:06.000Z
include Types type prefix = int let vint_length = function n when n < 128 -> 1 | n when n < 16384 -> 2 | n when n < 2097152 -> 3 | n when n < 268435456 -> 4 | _ -> 5 (* FIXME: checking for 64-bit and 32-bit archs *) let ll_type_prefix_table = [| Vint; Tuple; Bits8; By...
35.513514
76
0.55175
f3bfcd470fca7e557705527098e758fa81e3bf45
4,323
ml
OCaml
duniverse/base_quickcheck/src/test.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
duniverse/base_quickcheck/src/test.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
duniverse/base_quickcheck/src/test.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
open! Base include Test_intf module Config = struct module Seed = struct type t = | Nondeterministic | Deterministic of string [@@deriving sexp_of] end module Potentially_infinite_sequence = struct type 'a t = 'a Sequence.t let sexp_of_t sexp_of_elt sequence = let prefix, suff...
32.022222
88
0.64978
af865dab647af55fc9f24e5644573819b0cd701c
230
ml
OCaml
test/passing/module.ml
bkase/ocamlformat
72edb1e313f957d8de4dd4d981f3ce6fe05235f6
[ "MIT" ]
null
null
null
test/passing/module.ml
bkase/ocamlformat
72edb1e313f957d8de4dd4d981f3ce6fe05235f6
[ "MIT" ]
null
null
null
test/passing/module.ml
bkase/ocamlformat
72edb1e313f957d8de4dd4d981f3ce6fe05235f6
[ "MIT" ]
null
null
null
module AAAAAAAAAAAAAAAAAAA = Soooooooooooooooooooooooome.Loooooooooooooooooooooooong.Mod let _ = let module A = B in let module AAAAAAAAAAAAAAAAAAA = Soooooooooooooooooooooooome.Loooooooooooooooooooooooong.Mod in t
23
63
0.813043
f3915519dadeda7ce8e0daf25e7bf26c58bb3915
1,962
ml
OCaml
src/syntax.ml
hanazuki/miniml
012f268b4d3bb91d234eaa941b0e7bf58a0dd7cc
[ "MIT" ]
12
2016-06-24T06:09:33.000Z
2022-02-25T15:00:56.000Z
src/syntax.ml
hanazuki/miniml
012f268b4d3bb91d234eaa941b0e7bf58a0dd7cc
[ "MIT" ]
null
null
null
src/syntax.ml
hanazuki/miniml
012f268b4d3bb91d234eaa941b0e7bf58a0dd7cc
[ "MIT" ]
null
null
null
open Utils (* ML interpreter / type reconstruction *) type id = string let string_of_id = function | "" -> "_" | x -> let c = x.[0] in if 'a' <= c && c <= 'z' then x else "( " ^ x ^ " )" let print_id = print_string $ string_of_id module IdMap = Map.Make(struct type t = id let compare = compare end)...
20.87234
56
0.606014
f3ee13cfd7481c59ab6486e6d48e83a810fad6ef
37,612
ml
OCaml
taint/test/backwardAnalysisTest.ml
ishaanthakur/pyre-check
b0f12f8a3e6a817a81d87feae301c96d57d167b9
[ "MIT" ]
null
null
null
taint/test/backwardAnalysisTest.ml
ishaanthakur/pyre-check
b0f12f8a3e6a817a81d87feae301c96d57d167b9
[ "MIT" ]
null
null
null
taint/test/backwardAnalysisTest.ml
ishaanthakur/pyre-check
b0f12f8a3e6a817a81d87feae301c96d57d167b9
[ "MIT" ]
null
null
null
(* Copyright (c) 2018-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 Analysis open Pyre open Taint open Interprocedural open TestHelper let assert_taint ?(qualifier = "qualifier") so...
29.99362
100
0.593055
f3cc417c6c50c3a8c34855e186b42bff3303720a
4,426
ml
OCaml
src/lib/ounit2/advanced/oUnitCheckEnv.ml
n-osborne/ounit
4169ea0ba54a4b4435aa6f8bb966236f360daf2d
[ "MIT" ]
79
2015-12-20T01:45:08.000Z
2022-02-15T07:18:25.000Z
src/lib/ounit2/advanced/oUnitCheckEnv.ml
n-osborne/ounit
4169ea0ba54a4b4435aa6f8bb966236f360daf2d
[ "MIT" ]
87
2017-02-28T08:05:50.000Z
2022-01-22T09:52:01.000Z
src/lib/ounit2/advanced/oUnitCheckEnv.ml
n-osborne/ounit
4169ea0ba54a4b4435aa6f8bb966236f360daf2d
[ "MIT" ]
20
2016-10-02T16:47:52.000Z
2022-01-30T21:52:53.000Z
(**************************************************************************) (* The OUnit library *) (* *) (* Copyright (C) 2002-2008 Maas-Maarten Zeeman. *) (* Copyright...
40.236364
82
0.472436
f3e2e98bc0a27165bf4a0b5db39749134c1c86fb
5,335
ml
OCaml
src/parser/loader.ml
ritschwumm/vult
af496736238e8a265fa8076bbd8c7ef999994d0c
[ "MIT" ]
316
2015-05-05T00:06:06.000Z
2022-01-29T21:25:47.000Z
src/parser/loader.ml
shortwavaudio/vult
cb17ef9609019bc476a0527e2f4939fbf682ce7a
[ "MIT" ]
40
2015-10-25T22:24:52.000Z
2021-12-11T07:45:35.000Z
src/parser/loader.ml
shortwavaudio/vult
cb17ef9609019bc476a0527e2f4939fbf682ce7a
[ "MIT" ]
25
2015-06-17T05:44:32.000Z
2021-12-11T17:12:49.000Z
(* The MIT License (MIT) Copyright (c) 2016 Leonardo Laguna Ruiz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to ...
41.679688
121
0.664292
af6655aaa1559110a9e3701cbc7e86da7a18baa3
3,462
ml
OCaml
lib/bap_c/bap_c_size.ml
aoidos-bin/bap
d3d8537db19f33bb65508e28458c2897f70df9a7
[ "MIT-CMU", "MIT" ]
null
null
null
lib/bap_c/bap_c_size.ml
aoidos-bin/bap
d3d8537db19f33bb65508e28458c2897f70df9a7
[ "MIT-CMU", "MIT" ]
null
null
null
lib/bap_c/bap_c_size.ml
aoidos-bin/bap
d3d8537db19f33bb65508e28458c2897f70df9a7
[ "MIT-CMU", "MIT" ]
null
null
null
open Core_kernel open Bap.Std open Bap_c_data open Bap_c_type type real_size = [`r32 | `r64 | `r128] type 'a unqualified = (no_qualifier, 'a) spec type bits = Int.t class base (m : model) = object(self) method integer (t : integer) : size = match m,t with | _,#char -> `r8 | _,#short -> `r16 | `LP3...
30.910714
77
0.568169
af5653590f2b5634a8a460ea5af9a669e74c45db
1,638
ml
OCaml
libraries/cloudtrail/lib/listPublicKeys.ml
UnrealAkama/ocaml-aws
6947ff1acc4c911702d25b462bb6640cd70997d4
[ "BSD-3-Clause" ]
null
null
null
libraries/cloudtrail/lib/listPublicKeys.ml
UnrealAkama/ocaml-aws
6947ff1acc4c911702d25b462bb6640cd70997d4
[ "BSD-3-Clause" ]
null
null
null
libraries/cloudtrail/lib/listPublicKeys.ml
UnrealAkama/ocaml-aws
6947ff1acc4c911702d25b462bb6640cd70997d4
[ "BSD-3-Clause" ]
null
null
null
open Types open Aws type input = ListPublicKeysRequest.t type output = ListPublicKeysResponse.t type error = Errors_internal.t let service = "cloudtrail" 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))) (Lis...
27.3
88
0.616606
af27dd965232668d76315e4229f0faa19f27e7e5
54,334
ml
OCaml
src/proto_alpha/lib_protocol/test/integration/michelson/test_ticket_balance.ml
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
src/proto_alpha/lib_protocol/test/integration/michelson/test_ticket_balance.ml
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
src/proto_alpha/lib_protocol/test/integration/michelson/test_ticket_balance.ml
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2022 Trili Tech, <contact@trili.tech> *) ...
32.169331
100
0.572165
afab63fa014a835379f01a342185cf6f3d41c069
414
ml
OCaml
benchmarks/C/nat/sol273.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
benchmarks/C/nat/sol273.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
benchmarks/C/nat/sol273.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
(* problem 2*) type nat = ZERO | SUCC of nat let rec natadd : nat -> nat -> nat = fun n1 n2 -> match n1 with ZERO -> n2 |SUCC(succ) -> SUCC(natadd succ n2);; let rec natmul : nat -> nat -> nat = fun n1 n2 -> match n1 with ZERO -> ZERO |SUCC(succ) -> natadd (natmul succ n2) n2;; let rec natexp : nat -> nat -> nat...
23
44
0.60628
d2d7bb7036223593b2943f6ffd280bc1c31cd5f7
610
mli
OCaml
src/services/inference/init_js.mli
mirek/flow
fa1268d9153ec372796d7bf0fb364e648f1eb51f
[ "MIT" ]
1
2020-06-21T01:14:46.000Z
2020-06-21T01:14:46.000Z
src/services/inference/init_js.mli
mirek/flow
fa1268d9153ec372796d7bf0fb364e648f1eb51f
[ "MIT" ]
17
2020-10-12T16:16:07.000Z
2021-08-07T04:38:39.000Z
src/services/inference/init_js.mli
mirek/flow
fa1268d9153ec372796d7bf0fb364e648f1eb51f
[ "MIT" ]
1
2021-01-06T10:57:53.000Z
2021-01-06T10:57:53.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. *) (* called to initialize library code on initial full pass. params are functions to save errors and suppressions: circular dep...
32.105263
97
0.732787
af84add9da5d5b3024d8abe05109557e084ca02a
11,328
ml
OCaml
lib/vscode-jsonrpc/vscode_jsonrpc_message_writer.ml
tmattio/js-bindings
109076fe682c84eb1cf01c7f38ee1f4163fb3a9a
[ "MIT" ]
18
2021-04-14T02:52:09.000Z
2021-11-14T17:08:09.000Z
lib/vscode-jsonrpc/vscode_jsonrpc_message_writer.ml
tmattio/ocaml-ecmascript
109076fe682c84eb1cf01c7f38ee1f4163fb3a9a
[ "MIT" ]
4
2021-04-14T16:23:13.000Z
2021-05-22T00:00:55.000Z
lib/vscode-jsonrpc/vscode_jsonrpc_message_writer.ml
tmattio/ocaml-ecmascript
109076fe682c84eb1cf01c7f38ee1f4163fb3a9a
[ "MIT" ]
1
2021-04-14T15:29:24.000Z
2021-04-14T15:29:24.000Z
[@@@js.dummy "!! This code has been generated by gen_js_api !!"] [@@@ocaml.warning "-7-32-39"] [@@@ocaml.warning "-7-11-32-33-39"] open Es2020 module MessageWriter = struct type t = Ojs.t let rec t_of_js : Ojs.t -> t = fun (x2 : Ojs.t) -> x2 and t_to_js : t -> Ojs.t = fun (x1 : Ojs.t) -> x1 let (get_o...
43.072243
85
0.5384
d2f317cbe30ccf12f32c180e7fd8643af0624cb6
79
ml
OCaml
data/derived/comb/progs/unify/prog0630.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/prog0630.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog0630.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let pipe fs = let f a x y = a in let base y = y in List.fold_left f base fs;;
26.333333
77
0.632911
af64808af00687a344805ae5abf17e9015f68f77
3,777
ml
OCaml
lib/syndic_w3c.ml
paurkedal/Syndic
7a70e3062e42f9ee0ec77f282e1924736b0dff2a
[ "MIT" ]
22
2015-01-17T15:57:02.000Z
2021-09-12T06:59:59.000Z
lib/syndic_w3c.ml
paurkedal/Syndic
7a70e3062e42f9ee0ec77f282e1924736b0dff2a
[ "MIT" ]
27
2015-01-01T09:57:27.000Z
2020-01-23T08:48:27.000Z
lib/syndic_w3c.ml
paurkedal/Syndic
7a70e3062e42f9ee0ec77f282e1924736b0dff2a
[ "MIT" ]
8
2015-10-22T10:12:56.000Z
2022-02-07T16:35:36.000Z
open Syndic_common.XML open Syndic_common.Util module XML = Syndic_xml module Error = Syndic_error type error' = [ `Line of string | `Column of string | `Text of string | `Element of string | `Parent of string | `Value of string ] type error type warning type 'a kind = Error | Warning let error = Error l...
29.740157
78
0.61901
afa5954f406af26e69c55bdf358f4ddc203a2673
4,929
mli
OCaml
webmachine/session_webmachine.mli
avsm/ocaml-session
160a8a779a9fb555e255b930b085f25f09708d0c
[ "BSD-3-Clause" ]
null
null
null
webmachine/session_webmachine.mli
avsm/ocaml-session
160a8a779a9fb555e255b930b085f25f09708d0c
[ "BSD-3-Clause" ]
null
null
null
webmachine/session_webmachine.mli
avsm/ocaml-session
160a8a779a9fb555e255b930b085f25f09708d0c
[ "BSD-3-Clause" ]
1
2017-01-07T00:26:40.000Z
2017-01-07T00:26:40.000Z
(*---------------------------------------------------------------------------- Copyright (c) 2015 Inhabited Type LLC. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistri...
46.942857
90
0.685129
f3b012f4814e5ae54ca0c45bde65531babdd9276
8,785
ml
OCaml
hphp/hack/src/typing/nastCheck.ml
kavoor/hhvm
4b86dba3f3dadfa05b7fac391f0b28e1f011989c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/nastCheck.ml
kavoor/hhvm
4b86dba3f3dadfa05b7fac391f0b28e1f011989c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/nastCheck.ml
kavoor/hhvm
4b86dba3f3dadfa05b7fac391f0b28e1f011989c
[ "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. * *) (* This module performs checks after the naming has been done. Basically any check that doesn't fall in the typin...
31.263345
79
0.653045
afb6abdddfcc46aea71bff6f9d79ff03d699a64e
569
mli
OCaml
service/constants.mli
ucdstudent95618/pyre-check
032c67c5b75d573e0f645545b01c0f0f30475ed7
[ "MIT" ]
null
null
null
service/constants.mli
ucdstudent95618/pyre-check
032c67c5b75d573e0f645545b01c0f0f30475ed7
[ "MIT" ]
null
null
null
service/constants.mli
ucdstudent95618/pyre-check
032c67c5b75d573e0f645545b01c0f0f30475ed7
[ "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 Pyre module Persistent: sig val log_path: Configuration.t -> Path.t end module Server: sig val root: Configuration.t -> Path.t ...
20.321429
67
0.718805
af9f42a1398bb1e40eda5ac7603248c6653a46d4
5,663
ml
OCaml
source/interprocedural_analyses/taint/test/missingFlowsTest.ml
mata14/pyre-check
0ba391675e6baafbb6beea4f1809095c53f7a97f
[ "MIT" ]
null
null
null
source/interprocedural_analyses/taint/test/missingFlowsTest.ml
mata14/pyre-check
0ba391675e6baafbb6beea4f1809095c53f7a97f
[ "MIT" ]
null
null
null
source/interprocedural_analyses/taint/test/missingFlowsTest.ml
mata14/pyre-check
0ba391675e6baafbb6beea4f1809095c53f7a97f
[ "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. *) open Core open OUnit2 open Taint open Interprocedural open TestHelper type expect_fixpoint = { expect: expectation list; itera...
27.759804
100
0.54035
afbad52f720c92679d715a2c5f465c4945d7858f
3,551
ml
OCaml
analysis/typeEnvironment.ml
terrorizer1980/pyre-check
16659c7f6f19f3c364ba3a56e6c582371a8ff348
[ "MIT" ]
1
2020-08-08T16:01:55.000Z
2020-08-08T16:01:55.000Z
analysis/typeEnvironment.ml
terrorizer1980/pyre-check
16659c7f6f19f3c364ba3a56e6c582371a8ff348
[ "MIT" ]
4
2022-02-15T02:42:33.000Z
2022-02-28T01:30:07.000Z
analysis/typeEnvironment.ml
terrorizer1980/pyre-check
16659c7f6f19f3c364ba3a56e6c582371a8ff348
[ "MIT" ]
1
2020-11-22T12:08:51.000Z
2020-11-22T12:08:51.000Z
(* Copyright (c) 2019-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 Ast open Core module Error = AnalysisError type t = { global_environment: AnnotatedGlobalEnvironment.t; set_errors: Reference.t -> ...
30.612069
100
0.776964
af4676c470b5cd8aaa8f57d5e7104e0f6f70c71c
5,410
ml
OCaml
src/ocaml/typer_405/raw_compat.ml
bluddy/merlin
cdb6b7100dce8f02970d1b69f3a68fe498ec22b4
[ "MIT" ]
null
null
null
src/ocaml/typer_405/raw_compat.ml
bluddy/merlin
cdb6b7100dce8f02970d1b69f3a68fe498ec22b4
[ "MIT" ]
null
null
null
src/ocaml/typer_405/raw_compat.ml
bluddy/merlin
cdb6b7100dce8f02970d1b69f3a68fe498ec22b4
[ "MIT" ]
1
2017-11-06T17:46:59.000Z
2017-11-06T17:46:59.000Z
(* {{{ COPYING *( This file is part of Merlin, an helper for ocaml editors Copyright (C) 2013 - 2015 Frédéric Bour <frederic.bour(_)lakaban.net> Thomas Refis <refis.thomas(_)gmail.com> Simon Castellan <simon.castellan(_)iuwt.fr> Permission is hereby...
34.025157
79
0.623105
af733561b6cf42c73edf2e9861f336aa047027b2
349
ml
OCaml
example/raw_select.ml
tmattio/inquire
cd18ae5556bd44158f53b7215474679c32ad0306
[ "MIT" ]
39
2020-02-12T18:26:30.000Z
2022-01-22T05:40:28.000Z
example/raw_select.ml
tmattio/inquire
cd18ae5556bd44158f53b7215474679c32ad0306
[ "MIT" ]
5
2020-02-18T21:28:54.000Z
2021-11-20T16:22:46.000Z
example/raw_select.ml
tmattio/inquire
cd18ae5556bd44158f53b7215474679c32ad0306
[ "MIT" ]
2
2020-05-21T05:42:24.000Z
2020-10-08T16:36:04.000Z
let movies = [ "Star Wars: The Rise of Skywalker" ; "Solo: A Star Wars Story" ; "Star Wars: The Last Jedi" ; "Rogue One: A Star Wars Story" ; "Star Wars: The Force Awakens" ] let () = let movie = Inquire.raw_select "What's your favorite movie?" ~options:movies ~default:2 in Printf.printf "Indeed,...
24.928571
79
0.65043
f381b1bed2141ba011e79e97a2c14b95038be8dd
6,324
ml
OCaml
sledge/src/sledge.ml
GaloisNeko/infer
55de99b46574050506618acfc2ce9c49df66d27a
[ "MIT" ]
null
null
null
sledge/src/sledge.ml
GaloisNeko/infer
55de99b46574050506618acfc2ce9c49df66d27a
[ "MIT" ]
null
null
null
sledge/src/sledge.ml
GaloisNeko/infer
55de99b46574050506618acfc2ce9c49df66d27a
[ "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. *) (** SLEdge command line interface *) let () = Backtrace.Exn.set_recording Version.debug open Command.Let_syntax type 'a param = ...
33.638298
77
0.642631
f35edc8a9eb446bad2f2256c4e124b931cc1b239
233
mli
OCaml
libraries/ec2/lib/disableVpcClassicLink.mli
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
libraries/ec2/lib/disableVpcClassicLink.mli
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
1
2021-06-22T14:33:23.000Z
2021-06-22T14:33:23.000Z
libraries/ec2/lib/disableVpcClassicLink.mli
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
open Types type input = DisableVpcClassicLinkRequest.t type output = DisableVpcClassicLinkResult.t type error = Errors_internal.t include Aws.Call with type input := input and type output := output and type error := error
33.285714
74
0.763948
f34eba786bc812716cb92b422892010e507ed671
1,914
mli
OCaml
lwt/runtime.mli
Leonidas-from-XIV/ocaml-aws
c689f1d81b4db0612864860b37d57794e08a8fc5
[ "BSD-3-Clause" ]
null
null
null
lwt/runtime.mli
Leonidas-from-XIV/ocaml-aws
c689f1d81b4db0612864860b37d57794e08a8fc5
[ "BSD-3-Clause" ]
null
null
null
lwt/runtime.mli
Leonidas-from-XIV/ocaml-aws
c689f1d81b4db0612864860b37d57794e08a8fc5
[ "BSD-3-Clause" ]
null
null
null
(*---------------------------------------------------------------------------- Copyright (c) 2016 Inhabited Type LLC. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistri...
47.85
80
0.680251
f3b0ed5f7f55db47366b845951ac56e577c47d27
127
ml
OCaml
lib/oS.ml
mato/mirage-solo5
af8e1d6c74a5480a84501e7d75a78f90fad7f2a1
[ "0BSD" ]
17
2016-07-14T17:13:46.000Z
2021-11-18T11:35:42.000Z
lib/oS.ml
mirage/mirage-solo5
af8e1d6c74a5480a84501e7d75a78f90fad7f2a1
[ "0BSD" ]
52
2016-11-07T15:04:03.000Z
2022-03-27T17:03:20.000Z
lib/oS.ml
mato/mirage-solo5
af8e1d6c74a5480a84501e7d75a78f90fad7f2a1
[ "0BSD" ]
23
2016-07-15T13:59:49.000Z
2022-01-18T07:55:14.000Z
module Lifecycle = Lifecycle module Main = Main module Memory = Memory module MM = MM module Time = Time module Solo5 = Solo5
15.875
28
0.755906
f3e1332ece0ab1e2defcf8c614341060e93c730e
259
ml
OCaml
src/ocaml/toolkit/binding.ml
phutur/neige
dcb10f001cd65002e07bd091c973874ceffec547
[ "MIT" ]
10
2018-02-05T16:56:21.000Z
2018-08-28T07:33:15.000Z
src/ocaml/toolkit/binding.ml
phutur/neige
dcb10f001cd65002e07bd091c973874ceffec547
[ "MIT" ]
2
2018-02-16T09:15:41.000Z
2018-08-07T23:46:31.000Z
src/ocaml/toolkit/binding.ml
phutur/neige
dcb10f001cd65002e07bd091c973874ceffec547
[ "MIT" ]
1
2018-02-16T06:12:36.000Z
2018-02-16T06:12:36.000Z
let require module_name = let open Js.Unsafe in fun_call (js_expr "require") [|inject (Js.string module_name)|] let relativize path = let dirname = Js.Unsafe.eval_string "__dirname" |> Js.to_string in "file://" ^ dirname ^ "/" ^ path
21.583333
38
0.648649
f33a58460b2d803a6709536549df9f1f2d206c98
1,621
ml
OCaml
hphp/hack/src/server/argumentInfoService.ml
sathvikl/hiphop-php
34fa1033968d6ef243dcdb46eca2289d6ad674d2
[ "PHP-3.01", "Zend-2.0" ]
3
2015-07-05T07:32:31.000Z
2015-07-13T02:31:10.000Z
hphp/hack/src/server/argumentInfoService.ml
h4ck3rm1k3/hhvm
79e045f3ad1cbe079ff15c163131eb184db025f9
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/server/argumentInfoService.ml
h4ck3rm1k3/hhvm
79e045f3ad1cbe079ff15c163131eb184db025f9
[ "PHP-3.01", "Zend-2.0" ]
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 Core le...
27.948276
80
0.676743
f3e413259685f08f19c4c8fc878f65d8e1f6955d
3,073
ml
OCaml
src/macro/eval/evalDebug.ml
shohei909/haxe
1a7ba9ea20dffe86bdfcdc1424af4952c647cecb
[ "MIT" ]
4
2017-06-12T17:34:18.000Z
2018-10-13T14:13:22.000Z
src/macro/eval/evalDebug.ml
shohei909/haxe
1a7ba9ea20dffe86bdfcdc1424af4952c647cecb
[ "MIT" ]
null
null
null
src/macro/eval/evalDebug.ml
shohei909/haxe
1a7ba9ea20dffe86bdfcdc1424af4952c647cecb
[ "MIT" ]
null
null
null
open Gc open Globals open Ast open Type open EvalJitContext open EvalContext open EvalValue open EvalExceptions open EvalPrinting open EvalHash open EvalEncode open EvalMisc open EvalDebugMisc open MacroApi let is_caught ctx v = try Hashtbl.iter (fun path _ -> if is v path then raise Exit) ctx.debug.caught_types; ...
27.936364
141
0.718842
af671463137cfec3fea6faab950e4c2f703b32cc
4,521
ml
OCaml
lib/index/Index.ml
kit-ty-kate/dowsing
c8f1b67af16498158c60818c062ae9fd2e3f02d8
[ "ISC" ]
29
2017-02-06T16:56:34.000Z
2021-12-13T19:05:06.000Z
lib/index/Index.ml
kit-ty-kate/dowsing
c8f1b67af16498158c60818c062ae9fd2e3f02d8
[ "ISC" ]
13
2017-07-27T00:04:16.000Z
2021-11-04T14:26:14.000Z
lib/index/Index.ml
kit-ty-kate/dowsing
c8f1b67af16498158c60818c062ae9fd2e3f02d8
[ "ISC" ]
2
2021-01-03T20:47:32.000Z
2021-09-14T12:04:41.000Z
module Feature = Feature module Trie = Trie module Info = Info module Cell = Cell module type S = IndexIntf.S module Make (Trie : Trie.NODE) : S = struct type t = { hcons : Type.Hashcons.t ; mutable trie : Trie.t ; pkgs_dirs : Fpath.t String.HMap.t ; mutable cells : (Int.t * Cell.t Type.Map.t) Fpat...
26.438596
87
0.580181
af12ed623f567b453ec6a35b464734aa804625a3
10,870
ml
OCaml
hphp/hack/src/utils/sys/daemon.ml
fyunaz/hhvm
fc52cae6762431395818de9edbb0b918167c4b65
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/utils/sys/daemon.ml
fyunaz/hhvm
fc52cae6762431395818de9edbb0b918167c4b65
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/utils/sys/daemon.ml
fyunaz/hhvm
fc52cae6762431395818de9edbb0b918167c4b65
[ "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. * *) module Option = Base.Option type 'a in_channel = Timeout.in_channel type 'a out_channel = Stdlib.out_channel type...
31.146132
79
0.681141
f328ffd246e49bbe9e87e9ff09dcd0a3b3182815
10,665
ml
OCaml
analysis/lookup.ml
KoalaTea/pyre-check
71de5448f6695b3616a2a985fcbe27da74a3fc44
[ "MIT" ]
null
null
null
analysis/lookup.ml
KoalaTea/pyre-check
71de5448f6695b3616a2a985fcbe27da74a3fc44
[ "MIT" ]
null
null
null
analysis/lookup.ml
KoalaTea/pyre-check
71de5448f6695b3616a2a985fcbe27da74a3fc44
[ "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 Pyre open Ast open Expression open Statement type annotation_lookup = Type.t Location.Reference.Table.t type definition_look...
39.94382
101
0.650164
af065b2507090e847871684e031c78859d4582b4
459
ml
OCaml
2017/02/a.ml
bcc32/advent-of-code
37f47063bdc005513a14a2a3c12c3c6564e883cb
[ "MIT" ]
2
2022-01-04T23:09:54.000Z
2022-01-26T08:57:20.000Z
2017/02/a.ml
bcc32/advent-of-code
37f47063bdc005513a14a2a3c12c3c6564e883cb
[ "MIT" ]
null
null
null
2017/02/a.ml
bcc32/advent-of-code
37f47063bdc005513a14a2a3c12c3c6564e883cb
[ "MIT" ]
null
null
null
open! Core let () = In_channel.with_file (Sys.get_argv ()).(1) ~f:(fun file -> In_channel.input_lines file |> List.sum (module Int) ~f:(fun row -> let nums = String.split row ~on:'\t' |> List.map ~f:Int.of_string in let compare = Int.compare in ...
27
85
0.520697
d2d9b6921fee3e12a64e15255c58d7e6a424e13d
9,157
mli
OCaml
src/common/reason.mli
bnelo12/flow
65f2158e01d5b50df0be0b4fe1f2363fd3b8e7a0
[ "MIT" ]
null
null
null
src/common/reason.mli
bnelo12/flow
65f2158e01d5b50df0be0b4fe1f2363fd3b8e7a0
[ "MIT" ]
null
null
null
src/common/reason.mli
bnelo12/flow
65f2158e01d5b50df0be0b4fe1f2363fd3b8e7a0
[ "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. *) val mk_id: unit -> int type 'loc virtual_reason_desc = | RTrusted of 'loc virtual_reason_desc | RPrivate of 'loc virtual_reason...
33.419708
156
0.758218
af32fd1daf82544e294972d9a77f9ae415d6441a
1,916
ml
OCaml
ocaml-4.12.0-runtime/stdlib/printf.ml
drjdn/ocaml_c_pkg
50db2e4fdc7796cdec20ce1d4f9ca54944631c10
[ "Unlicense" ]
2
2021-03-03T15:31:36.000Z
2021-03-05T16:01:39.000Z
ocaml-4.12.0-runtime/stdlib/printf.ml
drjdn/ocaml_c_pkg
50db2e4fdc7796cdec20ce1d4f9ca54944631c10
[ "Unlicense" ]
2
2021-03-03T16:08:23.000Z
2021-03-03T19:31:03.000Z
ocaml-4.12.0-runtime/stdlib/printf.ml
drjdn/ocaml_c_pkg
50db2e4fdc7796cdec20ce1d4f9ca54944631c10
[ "Unlicense" ]
null
null
null
(**************************************************************************) (* *) (* OCaml *) (* *) (* Xavier ...
43.545455
76
0.460856
afb7662e2fb933cf6f0ce31e8fa3174b2e9675f6
2,083
ml
OCaml
http-fetch/unikernel.ml
hannesm/mirage-skeleton
8bf88999316d0580908f03c9e607521a88558ded
[ "Unlicense" ]
null
null
null
http-fetch/unikernel.ml
hannesm/mirage-skeleton
8bf88999316d0580908f03c9e607521a88558ded
[ "Unlicense" ]
null
null
null
http-fetch/unikernel.ml
hannesm/mirage-skeleton
8bf88999316d0580908f03c9e607521a88558ded
[ "Unlicense" ]
null
null
null
open Lwt.Infix open V1_LWT open Printf let red fmt = sprintf ("\027[31m"^^fmt^^"\027[m") let green fmt = sprintf ("\027[32m"^^fmt^^"\027[m") let yellow fmt = sprintf ("\027[33m"^^fmt^^"\027[m") let blue fmt = sprintf ("\027[36m"^^fmt^^"\027[m") let domain = "anil.recoil.org" let uri = Uri.of_string "http://anil...
37.872727
81
0.62746
af33884b68ad6ff2f66dbf49ba754bcfaed391ed
3,793
ml
OCaml
src/dune/format_config.ml
AltGr/dune
5cd4eb6f228649218722caa14a6a5630cba991b0
[ "MIT" ]
null
null
null
src/dune/format_config.ml
AltGr/dune
5cd4eb6f228649218722caa14a6a5630cba991b0
[ "MIT" ]
null
null
null
src/dune/format_config.ml
AltGr/dune
5cd4eb6f228649218722caa14a6a5630cba991b0
[ "MIT" ]
null
null
null
open! Stdune open Import open Dune_lang.Decoder let syntax = Dune_lang.Syntax.create ~name:"fmt" ~desc:"integration with automatic formatters" [ (1, 2) ] module Language = struct type t = | Dialect of string | Dune let to_dyn = let open Dyn.Encoder in function | Dialect name -> constr "...
25.286667
79
0.646454
f37824fbb2bc21fbc38f8b44546c4da1f5ebcac8
7,684
ml
OCaml
analysis/test/livenessCheckTest.ml
KoalaTea/pyre-check
71de5448f6695b3616a2a985fcbe27da74a3fc44
[ "MIT" ]
null
null
null
analysis/test/livenessCheckTest.ml
KoalaTea/pyre-check
71de5448f6695b3616a2a985fcbe27da74a3fc44
[ "MIT" ]
null
null
null
analysis/test/livenessCheckTest.ml
KoalaTea/pyre-check
71de5448f6695b3616a2a985fcbe27da74a3fc44
[ "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 Analysis open Test let assert_liveness_errors ~context = let check ~configuration ~environment ~source = Ty...
22.801187
77
0.515226
f344893df7ade66b0d06ab7b8008bcae4752ec4d
52
ml
OCaml
test/if_float2.ml
CPUEX2019-GROUP4/RunRunCompiler
c97d6bf35b5409212cb0f0cc2a76e3ab346f6a45
[ "BSD-3-Clause" ]
null
null
null
test/if_float2.ml
CPUEX2019-GROUP4/RunRunCompiler
c97d6bf35b5409212cb0f0cc2a76e3ab346f6a45
[ "BSD-3-Clause" ]
2
2020-01-24T14:24:12.000Z
2020-01-31T11:49:29.000Z
test/if_float2.ml
CPUEX2019-GROUP4/RunRunCompiler
c97d6bf35b5409212cb0f0cc2a76e3ab346f6a45
[ "BSD-3-Clause" ]
1
2020-02-25T03:07:14.000Z
2020-02-25T03:07:14.000Z
if 3.0 = 2.0 then print_char 120 else print_char 48
26
51
0.75
f35d930de22c0b38c046649b14f387fc6c343fe2
2,936
ml
OCaml
src/codemods/utils/codemod_utils.ml
radex/flow
803afdc9990c4bdc3d489ec498f2b032fa7b2c08
[ "MIT" ]
null
null
null
src/codemods/utils/codemod_utils.ml
radex/flow
803afdc9990c4bdc3d489ec498f2b032fa7b2c08
[ "MIT" ]
1
2021-04-16T12:04:57.000Z
2021-04-16T12:04:57.000Z
src/codemods/utils/codemod_utils.ml
radex/flow
803afdc9990c4bdc3d489ec498f2b032fa7b2c08
[ "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 FilenameMap = Utils_js.FilenameMap type ('a, 't) abstract_codemod_runner = | Mapper of ('t -> 'a Codemod_ast_mapper.mappe...
33.747126
99
0.700272
afac5414b7da0ac12c0ee9637e60c7f5dc44b021
71
ml
OCaml
data/derived/comb/progs/unify/prog5151.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/prog0243.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog0243.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let rec wwhile (f,b) = match f b with | (h,t) -> if t = true then t;;
23.666667
69
0.549296
f32e24572208c6567847709cf11aff7cd620c623
37,535
ml
OCaml
gen/CCompile_gen.ml
HadrienRenaud/herdtools7
3eb29a5a03e33b02505c63338e6bc10ab3da5a5b
[ "CECILL-B" ]
103
2016-11-28T10:00:41.000Z
2022-03-08T05:06:00.000Z
gen/CCompile_gen.ml
HadrienRenaud/herdtools7
3eb29a5a03e33b02505c63338e6bc10ab3da5a5b
[ "CECILL-B" ]
193
2017-02-28T19:04:04.000Z
2022-03-25T14:33:24.000Z
gen/CCompile_gen.ml
HadrienRenaud/herdtools7
3eb29a5a03e33b02505c63338e6bc10ab3da5a5b
[ "CECILL-B" ]
39
2016-12-14T23:10:34.000Z
2022-03-22T21:35:17.000Z
(****************************************************************************) (* the diy toolsuite *) (* *) (* Jade Alglave, University College London, UK. *) (* L...
32.753054
91
0.465859
f35beb7b823750cf75185e414eb7fc7f6442d0b8
325
ml
OCaml
examples/hashed_type_compare/hashed_type_compare.ml
thierry-martinez/override
8814efc841dc88ae295278768bd9db9d34472e0f
[ "BSD-2-Clause" ]
3
2020-03-03T13:47:22.000Z
2020-05-09T14:33:53.000Z
examples/hashed_type_compare/hashed_type_compare.ml
thierry-martinez/override
8814efc841dc88ae295278768bd9db9d34472e0f
[ "BSD-2-Clause" ]
2
2021-03-04T17:37:43.000Z
2021-09-22T13:05:25.000Z
examples/hashed_type_compare/hashed_type_compare.ml
thierry-martinez/override
8814efc841dc88ae295278768bd9db9d34472e0f
[ "BSD-2-Clause" ]
null
null
null
module%override Hashtbl = struct module type HashedType = sig type t val compare : t -> t -> int val hash : t -> int end module Make (X : HashedType) = struct include Hashtbl.Make (struct type t = X.t let equal x y = X.compare x y = 0 let hash = X.hash end) end...
15.47619
39
0.566154
af88450d337e2790ee7859b1236bc24eebf64704
45
mli
OCaml
exercises/practice/forth/forth.mli
exercism-bot/ocaml
b72a0d29d7f31d90138eab8fc0f87e56b73ba938
[ "MIT" ]
67
2017-07-06T12:10:14.000Z
2022-03-27T02:25:06.000Z
exercises/practice/forth/forth.mli
exercism-bot/ocaml
b72a0d29d7f31d90138eab8fc0f87e56b73ba938
[ "MIT" ]
106
2017-06-19T06:21:53.000Z
2022-03-15T10:32:20.000Z
exercises/practice/forth/forth.mli
exercism-bot/ocaml
b72a0d29d7f31d90138eab8fc0f87e56b73ba938
[ "MIT" ]
36
2017-07-12T18:11:37.000Z
2021-11-30T16:05:17.000Z
val evaluate : string list -> int list option
45
45
0.755556
f3da027f9a78dd8182c058200192b557700fe831
82,350
ml
OCaml
src/parser_utils/output/js_layout_generator.ml
skeggse/flow
49ab125ee158a2ac8ca675cff7460606a938f568
[ "MIT" ]
1
2018-12-18T19:19:16.000Z
2018-12-18T19:19:16.000Z
src/parser_utils/output/js_layout_generator.ml
skeggse/flow
49ab125ee158a2ac8ca675cff7460606a938f568
[ "MIT" ]
null
null
null
src/parser_utils/output/js_layout_generator.ml
skeggse/flow
49ab125ee158a2ac8ca675cff7460606a938f568
[ "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. *) module Ast = Flow_ast open Layout module LocMap = Utils_js.LocMap (* There are some cases where expressions must be wrapped in parens...
32.60095
105
0.616126
f3f026f012a1a2cf3657fd90c5d11f68a6829981
253
mli
OCaml
exercises/practice/nucleotide-count/nucleotide_count.mli
exercism-bot/ocaml
b72a0d29d7f31d90138eab8fc0f87e56b73ba938
[ "MIT" ]
67
2017-07-06T12:10:14.000Z
2022-03-27T02:25:06.000Z
exercises/practice/nucleotide-count/nucleotide_count.mli
exercism-bot/ocaml
b72a0d29d7f31d90138eab8fc0f87e56b73ba938
[ "MIT" ]
106
2017-06-19T06:21:53.000Z
2022-03-15T10:32:20.000Z
exercises/practice/nucleotide-count/nucleotide_count.mli
exercism-bot/ocaml
b72a0d29d7f31d90138eab8fc0f87e56b73ba938
[ "MIT" ]
36
2017-07-12T18:11:37.000Z
2021-11-30T16:05:17.000Z
open Base (* Count the number of times a nucleotide occurs in the string. *) val count_nucleotide : string -> char -> (int, char) Result.t (* Count the nucleotides in the string. *) val count_nucleotides : string -> (int Map.M(Char).t, char) Result.t
31.625
68
0.70751
f3d10e69642022fe7df6b301345d616995f24575
384
mli
OCaml
src/at.mli
janestreet/incremental_kernel
b84ea98a598bdd68b3846f1ecb3acc778d97e900
[ "MIT" ]
48
2016-03-10T10:48:05.000Z
2021-12-17T03:01:55.000Z
src/at.mli
janestreet/incremental_kernel
b84ea98a598bdd68b3846f1ecb3acc778d97e900
[ "MIT" ]
null
null
null
src/at.mli
janestreet/incremental_kernel
b84ea98a598bdd68b3846f1ecb3acc778d97e900
[ "MIT" ]
8
2017-03-31T15:48:19.000Z
2021-12-17T03:02:50.000Z
(** A module internal to Incremental. Users should see {!Incremental_intf}. An [At] is a kind of DAG node whose value is [Before] until the clock reaches a certain time, at which point its value becomes [After]. *) open! Core_kernel open! Import include module type of struct include Types.At end include In...
27.428571
83
0.726563
af88279f0a0534b261483624f353b640b256a494
2,919
ml
OCaml
cli/common.ml
NathanReb/opam-monorepo
f4a7decf4c0b47f4b550cb1a5d0e4a87106269b1
[ "ISC" ]
null
null
null
cli/common.ml
NathanReb/opam-monorepo
f4a7decf4c0b47f4b550cb1a5d0e4a87106269b1
[ "ISC" ]
null
null
null
cli/common.ml
NathanReb/opam-monorepo
f4a7decf4c0b47f4b550cb1a5d0e4a87106269b1
[ "ISC" ]
null
null
null
open Import module Arg = struct let named f = Cmdliner.Term.(app (const f)) let fpath = Cmdliner.Arg.conv ~docv:"PATH" (Fpath.of_string, Fpath.pp) let repo = let doc = "Path to Git repository to store vendored code in." in named (fun x -> `Repo x) Cmdliner.Arg.( value & opt ...
29.785714
77
0.608428
af933477e55d5a54e96ce645565ef35898f6d7fe
3,129
ml
OCaml
sdl/lazyfoo/lesson_06/main.ml
PrattFall/ocaml-fun
6a7b8fd18bfd35d2cb6162d935b2e65932f78bc2
[ "MIT" ]
null
null
null
sdl/lazyfoo/lesson_06/main.ml
PrattFall/ocaml-fun
6a7b8fd18bfd35d2cb6162d935b2e65932f78bc2
[ "MIT" ]
null
null
null
sdl/lazyfoo/lesson_06/main.ml
PrattFall/ocaml-fun
6a7b8fd18bfd35d2cb6162d935b2e65932f78bc2
[ "MIT" ]
null
null
null
open Result open Tsdl (* Merlin's having trouble with this one for some reason, but it compiles *) open Tsdl_image module Screen = struct let width = 640 let height = 480 end type sdl_err = | InitError of string | CreateWindowError of string | GetWindowSurfaceError of string | Image...
30.086538
94
0.672739
afa53bf467d085996f6fe39615792e299c4337aa
3,552
ml
OCaml
data/sp14_min/3357.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/sp14/3357.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/sp14_min/3357.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
2
2019-09-19T12:24:29.000Z
2021-08-18T11:44:40.000Z
let rec clone x n = if n > 0 then x :: (clone x (n - 1)) else [];; let padZero l1 l2 = if (List.length l1) < (List.length l2) then ((List.append (clone 0 ((List.length l2) - (List.length l1))) l1), l2) else (l1, (List.append (clone 0 ((List.length l1) - (List.length l2))) l2));; let rec removeZero l = match ...
26.311111
79
0.461712
f3c4fe38e17120becf6395c46bbaaddb38010ea1
147
ml
OCaml
data/derived/comb/progs/unify/prog0160.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/prog0160.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog0160.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let pipe fs = let f a x = (fun x -> fun a -> x a) x a in let base x = x in List.fold_left f base fs;; let _ = pipe [(fun x -> x + 3)] 3;;
21
46
0.510204
afb4fd44cb16751bcf6dab05fb565c240b6f08b4
10,891
ml
OCaml
src/lib_p2p/test/test_p2p_io_scheduler.ml
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
src/lib_p2p/test/test_p2p_io_scheduler.ml
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
src/lib_p2p/test/test_p2p_io_scheduler.ml
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
34.907051
80
0.603526
af87b0f190e0b1ee0f8e05d56285b96efb42a3f7
1,497
ml
OCaml
test/test_symbol.ml
neojski/ecaml
00adeed63c00e3e52a4a2475c3a8256fd70c66b6
[ "MIT" ]
null
null
null
test/test_symbol.ml
neojski/ecaml
00adeed63c00e3e52a4a2475c3a8256fd70c66b6
[ "MIT" ]
null
null
null
test/test_symbol.ml
neojski/ecaml
00adeed63c00e3e52a4a2475c3a8256fd70c66b6
[ "MIT" ]
null
null
null
open! Core_kernel open! Async_kernel open! Import open! Symbol let%expect_test "[intern] with same name returns equal symbols" = require [%here] (equal (intern "foo") (intern "foo")); return () ;; let%expect_test "[intern] with different names returns unequal symbols" = require [%here] (not (equal (intern "foo"...
25.372881
87
0.61189
afa1b52d22a7baf0a8cac2c1c0bb772ca291105d
25,083
ml
OCaml
src/middle/Semantic_error.ml
kendalfoster/stanc3
2b17789dae5690a92ec1e5c14aff3960a4dac88a
[ "BSD-3-Clause" ]
17
2020-11-26T00:53:58.000Z
2021-08-20T18:56:39.000Z
src/middle/Semantic_error.ml
kendalfoster/stanc3
2b17789dae5690a92ec1e5c14aff3960a4dac88a
[ "BSD-3-Clause" ]
null
null
null
src/middle/Semantic_error.ml
kendalfoster/stanc3
2b17789dae5690a92ec1e5c14aff3960a4dac88a
[ "BSD-3-Clause" ]
3
2020-12-09T20:16:16.000Z
2021-05-28T04:30:28.000Z
open Core_kernel (** Type errors that may arise during semantic check *) module TypeError = struct type t = | MismatchedReturnTypes of UnsizedType.returntype * UnsizedType.returntype | MismatchedArrayTypes of UnsizedType.t * UnsizedType.t | InvalidRowVectorTypes of UnsizedType.t | InvalidMatrixTypes ...
39.315047
95
0.697325
af7dd717813b5133a86169a0ba97a9a51b353b2c
7,920
ml
OCaml
src/build_interpret.ml
praxtice/dune
061e1dcdf13a222693599c7bf417a742562dba53
[ "MIT" ]
null
null
null
src/build_interpret.ml
praxtice/dune
061e1dcdf13a222693599c7bf417a742562dba53
[ "MIT" ]
null
null
null
src/build_interpret.ml
praxtice/dune
061e1dcdf13a222693599c7bf417a742562dba53
[ "MIT" ]
null
null
null
open! Stdune open Import open Build.Repr module Vspec = Build.Vspec module Target = struct type t = | Normal of Path.t | Vfile : _ Vspec.t -> t let path = function | Normal p -> p | Vfile (Vspec.T (p, _)) -> p let paths ts = List.fold_left ts ~init:Path.Set.empty ~f:(fun acc t -> Pat...
32.195122
84
0.556566
f3ee0388a1f1e442f1a522247fdb9401e9d462ab
31
ml
OCaml
lib/comparator.ml
agarwal/core
5ee4c65df85e5720dbbcc14087e2ef28259930ab
[ "Apache-2.0" ]
null
null
null
lib/comparator.ml
agarwal/core
5ee4c65df85e5720dbbcc14087e2ef28259930ab
[ "Apache-2.0" ]
null
null
null
lib/comparator.ml
agarwal/core
5ee4c65df85e5720dbbcc14087e2ef28259930ab
[ "Apache-2.0" ]
null
null
null
include Core_kernel.Comparator
15.5
30
0.903226
af6391e079da1fd6eee40aef5fb913329eb2722b
14,273
ml
OCaml
arm/proofs/bignum_sqr_6_12.ml
SalusaSecondus/s2n-bignum
bf33aba81577a72924a9add994cba61fbb146026
[ "Apache-2.0" ]
33
2021-03-11T16:12:01.000Z
2022-03-06T17:01:18.000Z
arm/proofs/bignum_sqr_6_12.ml
SalusaSecondus/s2n-bignum
bf33aba81577a72924a9add994cba61fbb146026
[ "Apache-2.0" ]
8
2021-09-06T12:58:47.000Z
2022-01-03T16:43:09.000Z
arm/proofs/bignum_sqr_6_12.ml
SalusaSecondus/s2n-bignum
bf33aba81577a72924a9add994cba61fbb146026
[ "Apache-2.0" ]
4
2021-03-11T19:28:16.000Z
2021-12-12T23:40:44.000Z
(* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "LICENSE" file ...
49.559028
100
0.590205
f38e36b74173db9bb5c5764f8266a67f07bcbd5a
503
ml
OCaml
hphp/hack/src/lints/linter_ast.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/src/lints/linter_ast.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/src/lints/linter_ast.ml
divinity76/hhvm
cfde9bb3d7d49740d0ca0228e2d714637b155a13
[ "PHP-3.01", "Zend-2.0" ]
2,126
2015-01-01T11:13:29.000Z
2022-03-28T19:58:15.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 Aast open Hh_prelude let go (ast : Nast.program) = List.iter ast ~f:(function | Stmt (_, Expr (_, p, I...
25.15
80
0.622266
af6f0dd0f413c6378dcbcd1160af717eaed665f3
25,897
ml
OCaml
taint/backwardAnalysis.ml
aspin/pyre-check
fe78b41789ba3ef091b0b021d9a1c6267905a7f8
[ "MIT" ]
null
null
null
taint/backwardAnalysis.ml
aspin/pyre-check
fe78b41789ba3ef091b0b021d9a1c6267905a7f8
[ "MIT" ]
null
null
null
taint/backwardAnalysis.ml
aspin/pyre-check
fe78b41789ba3ef091b0b021d9a1c6267905a7f8
[ "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 Analysis open Ast open Expression open Pyre open Statement open Domains open AccessPath module type FixpointState = sig ...
38.252585
100
0.628065
f309282b7b8496f77ef6866afd8c41b05ef809e5
201
ml
OCaml
GillianCore/utils/syntaxes.ml
z5146542/Gillian
b4646d35932a9066cdbe9246536f38ddbe85c350
[ "BSD-3-Clause" ]
null
null
null
GillianCore/utils/syntaxes.ml
z5146542/Gillian
b4646d35932a9066cdbe9246536f38ddbe85c350
[ "BSD-3-Clause" ]
null
null
null
GillianCore/utils/syntaxes.ml
z5146542/Gillian
b4646d35932a9066cdbe9246536f38ddbe85c350
[ "BSD-3-Clause" ]
null
null
null
module Result = struct let ( let+ ) f o = Result.map o f let ( let* ) o f = Result.bind o f end module Option = struct let ( let+ ) f o = Option.map o f let ( let* ) o f = Option.bind o f end
20.1
36
0.597015
af106ea7416c873de4922e4545c18efafa6ad4cb
3,149
mli
OCaml
interprocedural/callable.mli
ishaanthakur/pyre-check
b0f12f8a3e6a817a81d87feae301c96d57d167b9
[ "MIT" ]
null
null
null
interprocedural/callable.mli
ishaanthakur/pyre-check
b0f12f8a3e6a817a81d87feae301c96d57d167b9
[ "MIT" ]
null
null
null
interprocedural/callable.mli
ishaanthakur/pyre-check
b0f12f8a3e6a817a81d87feae301c96d57d167b9
[ "MIT" ]
null
null
null
(* Copyright (c) 2018-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. *) (* A generalization of what can be a call target during the analysis. - RealTarget refers to an actual definition. - OverrideTarget is a s...
24.410853
99
0.70181
af5a9ebcacdbf6ece4ebe0e0d872c926e447b06c
12,822
ml
OCaml
x86/proofs/bignum_bitfield.ml
SalusaSecondus/s2n-bignum
bf33aba81577a72924a9add994cba61fbb146026
[ "Apache-2.0" ]
33
2021-03-11T16:12:01.000Z
2022-03-06T17:01:18.000Z
x86/proofs/bignum_bitfield.ml
SalusaSecondus/s2n-bignum
bf33aba81577a72924a9add994cba61fbb146026
[ "Apache-2.0" ]
8
2021-09-06T12:58:47.000Z
2022-01-03T16:43:09.000Z
x86/proofs/bignum_bitfield.ml
SalusaSecondus/s2n-bignum
bf33aba81577a72924a9add994cba61fbb146026
[ "Apache-2.0" ]
4
2021-03-11T19:28:16.000Z
2021-12-12T23:40:44.000Z
(* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "LICENSE" file ...
45.956989
79
0.624006
afb74fbcf2f3615d7b9e970cd6a39780a6a7d5cb
303
ml
OCaml
atdgen-codec-runtime/src/json.ml
jchavarri/atd
2f4f347069efcd0e461fbcf4e3e6e1c0a0eeb66b
[ "BSD-3-Clause" ]
137
2015-03-03T20:17:59.000Z
2019-08-27T17:01:40.000Z
atdgen-codec-runtime/src/json.ml
jchavarri/atd
2f4f347069efcd0e461fbcf4e3e6e1c0a0eeb66b
[ "BSD-3-Clause" ]
154
2015-06-22T14:35:58.000Z
2019-08-27T15:35:05.000Z
atdgen-codec-runtime/src/json.ml
jchavarri/atd
2f4f347069efcd0e461fbcf4e3e6e1c0a0eeb66b
[ "BSD-3-Clause" ]
20
2015-06-18T18:37:59.000Z
2019-04-18T11:31:21.000Z
type t = [ `Assoc of (string * t) list | `Bool of bool | `Float of float | `Int of int | `Intlit of string | `List of t list | `Null | `String of string | `Tuple of t list | `Variant of string * t option ] let constr0 s = `Variant (s, None) let constr1 s a = `Variant (s, Some a)
17.823529
38
0.587459
af961a1ad24464a2111ab52369a72ca73cc50b81
4,504
mli
OCaml
src/manager/Manager.mli
favonia/bantorra
be24e59a46d96f58628a3ba7c0e24d3deef3299b
[ "Apache-2.0" ]
7
2020-06-14T21:52:33.000Z
2020-07-03T08:50:46.000Z
src/manager/Manager.mli
RedPRL/bantorra
be24e59a46d96f58628a3ba7c0e24d3deef3299b
[ "Apache-2.0" ]
12
2021-06-16T20:49:56.000Z
2021-10-04T13:26:09.000Z
src/manager/Manager.mli
favonia/bantorra
be24e59a46d96f58628a3ba7c0e24d3deef3299b
[ "Apache-2.0" ]
null
null
null
open BantorraBasis (** {1 Types} *) type t (** The type of library managers. *) type library (** The abstract type of libraries. *) type unitpath = string list (** The type of unit paths. *) (** {1 Initialization} *) val init : anchor:string -> routers:(string * Router.t) list -> (t, [> `InvalidRouter of string])...
43.728155
217
0.729352
af41e4f128316d0e7c5a287de34bdca15b7c27d4
223
ml
OCaml
benchmarks/C/iter/sol22.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
benchmarks/C/iter/sol22.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
benchmarks/C/iter/sol22.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
2
2020-02-06T00:36:38.000Z
2020-07-27T09:53:35.000Z
(*program language, exercise2, 200611810*) exception Error of int let rec iter00 n f a = if n=0 then a else if n=1 then f a else if n>1 then iter00 (n-1) f (f a) else raise (Error n) let iter (n, f) = iter00 n f
18.583333
42
0.650224
af4deb31a939e3bb3c615f90ceeb08a5af5c5305
2,964
ml
OCaml
stats/albatross_stats.ml
reynir/albatross
3f36fe63826d13a44dbce1045d1ddb55eb63b681
[ "ISC" ]
null
null
null
stats/albatross_stats.ml
reynir/albatross
3f36fe63826d13a44dbce1045d1ddb55eb63b681
[ "ISC" ]
null
null
null
stats/albatross_stats.ml
reynir/albatross
3f36fe63826d13a44dbce1045d1ddb55eb63b681
[ "ISC" ]
null
null
null
(* (c) 2017, 2018 Hannes Mehnert, all rights reserved *) (* the process responsible for gathering statistics (CPU + mem + network) *) (* a shared unix domain socket between vmmd and vmm_stats is used as communication channel, where the vmmd can issue commands: - add pid taps - remove pid - statistics pid...
30.556701
81
0.598516
af847550a47844cde16eedffd5b474764d37f3c9
5,523
ml
OCaml
src/dune_cache/trimmer.ml
snowleopard/dune
dcf921ca5cd825ddb054682809bc4032e0d92ebc
[ "MIT" ]
1,056
2018-01-17T23:27:17.000Z
2022-03-28T08:28:13.000Z
src/dune_cache/trimmer.ml
snowleopard/dune
dcf921ca5cd825ddb054682809bc4032e0d92ebc
[ "MIT" ]
3,824
2018-01-17T15:09:57.000Z
2022-03-31T14:46:35.000Z
src/dune_cache/trimmer.ml
snowleopard/dune
dcf921ca5cd825ddb054682809bc4032e0d92ebc
[ "MIT" ]
314
2018-01-21T13:57:15.000Z
2022-03-24T16:17:13.000Z
open Stdune open Dune_cache_storage module Trimming_result = struct type t = { trimmed_bytes : int64 } let empty = { trimmed_bytes = 0L } (* CR-someday amokhov: Right now Dune doesn't support large (>1Gb) files on 32-bit platforms due to the pervasive use of [int] for representing individual file siz...
41.216418
80
0.645664
af4e353557f44d69a57f2e45095883e69752e7bc
8,460
ml
OCaml
CodeHawk/CHB/bchlib/bCHLocation.ml
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
2
2019-12-05T18:50:53.000Z
2019-12-07T18:47:44.000Z
CodeHawk/CHB/bchlib/bCHLocation.ml
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
1
2020-03-04T05:04:37.000Z
2020-03-04T05:04:37.000Z
CodeHawk/CHB/bchlib/bCHLocation.ml
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
1
2019-12-05T18:51:24.000Z
2019-12-05T18:51:24.000Z
(* ============================================================================= CodeHawk Binary Analyzer Author: Henny Sipma ------------------------------------------------------------------------------ The MIT License (MIT) Copyright (c) 2005-2020 Kestrel Technology LLC Copyright (c) 2020 H...
32.790698
94
0.624232
af9c52788ebdf44b0b981ec359f5dba4528ca02a
1,361
ml
OCaml
result/cafe2/diff/sub170/patch.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
result/cafe2/diff/sub170/patch.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
result/cafe2/diff/sub170/patch.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
type aexp = | Const of int | Var of string | Power of (string * int) | Times of aexp list | Sum of aexp list let listToelement2 (lst : aexp list) : aexp = match lst with | hd :: tl -> ( match hd with | Times l -> Times l | Sum l -> Sum l | Const x -> Const x | Var x -> Var x...
25.679245
76
0.50845
f3dd45105f12c9cd54fd9e33e9e42b5745b5b89e
3,421
mli
OCaml
src/b0_cmdlet.mli
kit-ty-kate/b0
f1d40f4c8055bbb1415c4fca08bfb8cf3c242c95
[ "ISC" ]
null
null
null
src/b0_cmdlet.mli
kit-ty-kate/b0
f1d40f4c8055bbb1415c4fca08bfb8cf3c242c95
[ "ISC" ]
null
null
null
src/b0_cmdlet.mli
kit-ty-kate/b0
f1d40f4c8055bbb1415c4fca08bfb8cf3c242c95
[ "ISC" ]
null
null
null
(*--------------------------------------------------------------------------- Copyright (c) 2020 The b0 programmers. All rights reserved. Distributed under the ISC license, see terms at the end of the file. ---------------------------------------------------------------------------*) (** Cmdlets. Cmdlets ...
38.011111
79
0.613271
afbb1a3156e6423e3c14ff82e26f9bce3d618c07
332
ml
OCaml
test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/testsuite/tests/tool-ocaml/t051-getglobalfield.ml
dauletisataev/form-ppx
caa4311ab58b171950dce74def61133830d4740c
[ "MIT" ]
2
2021-03-03T15:31:36.000Z
2021-03-05T16:01:39.000Z
test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/testsuite/tests/tool-ocaml/t051-getglobalfield.ml
dauletisataev/form-ppx
caa4311ab58b171950dce74def61133830d4740c
[ "MIT" ]
2
2021-03-03T16:08:23.000Z
2021-03-03T19:31:03.000Z
test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/testsuite/tests/tool-ocaml/t051-getglobalfield.ml
dauletisataev/form-ppx
caa4311ab58b171950dce74def61133830d4740c
[ "MIT" ]
null
null
null
(* TEST include tool-ocaml-lib flags = "-w a" ocaml_script_as_argument = "true" * setup-ocaml-build-env ** ocaml *) Lib.x;; (** 0 CONSTINT 42 2 PUSHACC0 3 MAKEBLOCK1 0 5 POP 1 7 SETGLOBAL Lib 9 GETGLOBALFIELD Lib, 0 12 ATOM0 13 SETGLOBAL T051-getglobalfield ...
15.090909
38
0.590361
afa7a717db20780ddd073b5c73541804510d1bfd
6,874
ml
OCaml
hphp/hack/src/parser/docblock_finder.ml
fredemmott/hhvm
e819c0c5016607c286384d9c76e33fa4ef42d4bb
[ "PHP-3.01", "Zend-2.0" ]
1
2016-10-08T12:13:09.000Z
2016-10-08T12:13:09.000Z
hphp/hack/src/parser/docblock_finder.ml
fredemmott/hhvm
e819c0c5016607c286384d9c76e33fa4ef42d4bb
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/parser/docblock_finder.ml
fredemmott/hhvm
e819c0c5016607c286384d9c76e33fa4ef42d4bb
[ "PHP-3.01", "Zend-2.0" ]
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 Hh_core ...
36.956989
92
0.649985
afb44fbc96ca0b14bded9db681170abef4338d04
191
ml
OCaml
src/debug_print.ml
idkjs/daypack-lib
63fa5d85007eca73aa6c51874a839636dd0403d3
[ "MIT" ]
9
2020-05-28T13:54:12.000Z
2021-01-28T05:57:12.000Z
src/debug_print.ml
daypack-dev/daypack
63fa5d85007eca73aa6c51874a839636dd0403d3
[ "MIT" ]
48
2020-01-10T10:33:35.000Z
2020-04-18T06:26:46.000Z
src/debug_print.ml
daypack-dev/daypack
63fa5d85007eca73aa6c51874a839636dd0403d3
[ "MIT" ]
1
2021-07-14T20:07:35.000Z
2021-07-14T20:07:35.000Z
let indent_single = " " let bprintf ?(indent_level : int = 0) buffer fmt = for _ = 0 to indent_level - 1 do Buffer.add_string buffer indent_single done; Printf.bprintf buffer fmt
23.875
50
0.701571
af5c68c544982dd326fae79a9f41bb0bc6c2d8b0
185
ml
OCaml
1st/core/src/mytest/array_make.ml
keitaroskmt/cpuex2020_1
33cdc033a6184286232f4ce7729030708213b6f8
[ "BSD-3-Clause-Attribution", "FSFAP" ]
null
null
null
1st/core/src/mytest/array_make.ml
keitaroskmt/cpuex2020_1
33cdc033a6184286232f4ce7729030708213b6f8
[ "BSD-3-Clause-Attribution", "FSFAP" ]
null
null
null
1st/core/src/mytest/array_make.ml
keitaroskmt/cpuex2020_1
33cdc033a6184286232f4ce7729030708213b6f8
[ "BSD-3-Clause-Attribution", "FSFAP" ]
3
2020-10-08T04:16:58.000Z
2021-10-11T13:19:30.000Z
let rec inprod v1 v2 i = if i < 0 then 0.0 else v1.(i) *. v2.(i) +. inprod v1 v2 (i - 1) in let v1 = Array.make 3 1.23 in let v2 = Array.make 3 4.56 in print_float (inprod v1 v2 2)
26.428571
45
0.610811
af6e4173a935e968d98a0c47b5eda95b15a94538
6,723
ml
OCaml
data/derived/comb/progs/unify/prog7433.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/prog2625.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog2625.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXX *) (*XXXXXXXXXXXXXXXXXXXXXXXXXXX*) let rec sumList xs = match xs with | [] -> 0 | h::t -> h + sumList t ;; let _ = sumList [1; 2; 3; 4] let _ = sumList [1; -2; 3; 5] let _ = sumList [1; 3; 5; 7; 9; 11] (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...
24.447273
94
0.602112
af7790d8bae023172ec4bdfd460fa6421240fd99
14,534
ml
OCaml
src/lib_lwt_result_stdlib/test/test_fuzzing_helpers.ml
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
null
null
null
src/lib_lwt_result_stdlib/test/test_fuzzing_helpers.ml
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
null
null
null
src/lib_lwt_result_stdlib/test/test_fuzzing_helpers.ml
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2020 Nomadic Labs <contact@nomadic-labs.com> *) ...
22.533333
82
0.596395
afa9fc03d2fc02b1e639ecb0f9e5fe39abd41c4f
1,509
mli
OCaml
lib/conduit_lwt_unix_ssl.mli
dsheets/ocaml-conduit
9fcc3e1ae763f2be09eddb169bf593774a1ced96
[ "0BSD" ]
1
2015-11-05T16:45:49.000Z
2015-11-05T16:45:49.000Z
lib/conduit_lwt_unix_ssl.mli
dsheets/ocaml-conduit
9fcc3e1ae763f2be09eddb169bf593774a1ced96
[ "0BSD" ]
null
null
null
lib/conduit_lwt_unix_ssl.mli
dsheets/ocaml-conduit
9fcc3e1ae763f2be09eddb169bf593774a1ced96
[ "0BSD" ]
null
null
null
(* * Copyright (c) 2012-2014 Anil Madhavapeddy <anil@recoil.org> * * 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 ...
30.795918
78
0.699139
afc1120481c46c9bf0c87502ef8a93f1be9e6764
2,032
mli
OCaml
src/lib_client_commands/client_keys_commands.mli
noclouds/tezos-master
6c31af7ab3ea782f89f988e389e9b0860207a8d6
[ "MIT" ]
null
null
null
src/lib_client_commands/client_keys_commands.mli
noclouds/tezos-master
6c31af7ab3ea782f89f988e389e9b0860207a8d6
[ "MIT" ]
null
null
null
src/lib_client_commands/client_keys_commands.mli
noclouds/tezos-master
6c31af7ab3ea782f89f988e389e9b0860207a8d6
[ "MIT" ]
1
2021-06-04T09:31:48.000Z
2021-06-04T09:31:48.000Z
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
70.068966
79
0.480315
af13c72f828ffa3debf626fa2bea2c80861613c4
898
mli
OCaml
wcs-lib/spel_print.mli
Bhaskers-Blu-Org1/wcs-ocaml
b237b7057f44caa09d36e466be015e2bc3173dd5
[ "Apache-2.0" ]
26
2017-09-20T17:28:21.000Z
2020-12-11T06:00:21.000Z
wcs-lib/spel_print.mli
Bhaskers-Blu-Org1/wcs-ocaml
b237b7057f44caa09d36e466be015e2bc3173dd5
[ "Apache-2.0" ]
6
2017-10-18T19:31:42.000Z
2018-08-29T20:16:45.000Z
wcs-lib/spel_print.mli
idkjs/wcs-ocaml
b237b7057f44caa09d36e466be015e2bc3173dd5
[ "Apache-2.0" ]
16
2017-09-16T07:05:24.000Z
2021-08-15T12:37:00.000Z
(* * This file is part of the Watson Conversation Service OCaml API project. * * Copyright 2016-2017 IBM Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.a...
33.259259
75
0.733853
f3569168600b9364d27283781ae8353bc007819e
13,765
ml
OCaml
implementation/crypto_real.ml
mgrabovsky/cryptoverif-py
a9705ea625eb1cf3b12854ce34547c60a63bf17d
[ "CECILL-B" ]
3
2016-12-13T07:50:48.000Z
2018-06-04T06:26:57.000Z
implementation/crypto_real.ml
mgrabovsky/cryptoverif-py
a9705ea625eb1cf3b12854ce34547c60a63bf17d
[ "CECILL-B" ]
null
null
null
implementation/crypto_real.ml
mgrabovsky/cryptoverif-py
a9705ea625eb1cf3b12854ce34547c60a63bf17d
[ "CECILL-B" ]
2
2018-09-18T12:59:11.000Z
2021-11-29T06:07:38.000Z
(************************************************************* * * * Cryptographic protocol verifier * * * * Bruno Blanchet and David Cadé * * ...
32.464623
1,033
0.621504
f377adef9a0ac2ecc7406e846479d0742d0d5aec
3,128
ml
OCaml
infer/src/clang/cFrontend.ml
prmis/infer
4acad5ca90d2fc18f1b7440b83aeb81f964d6199
[ "MIT" ]
null
null
null
infer/src/clang/cFrontend.ml
prmis/infer
4acad5ca90d2fc18f1b7440b83aeb81f964d6199
[ "MIT" ]
null
null
null
infer/src/clang/cFrontend.ml
prmis/infer
4acad5ca90d2fc18f1b7440b83aeb81f964d6199
[ "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! IStd module L = Logging (* ocamlc gets confused by [module rec]: https://caml.inria.fr/mantis/view.php?id=6714 *) (* it also ignor...
42.27027
100
0.754156
af7bafa57def850800298df430cd554e49e86ac4
2,036
mll
OCaml
csisat/lib/io/csisatInfixLex.mll
li-xin-yi/MoCHi
5fe401323e64ca2dd0235729e705d836f3068751
[ "Apache-2.0" ]
32
2019-10-30T10:09:56.000Z
2022-03-28T07:15:04.000Z
csisat/lib/io/csisatInfixLex.mll
li-xin-yi/MoCHi
5fe401323e64ca2dd0235729e705d836f3068751
[ "Apache-2.0" ]
1
2021-04-14T19:19:15.000Z
2021-04-15T02:03:56.000Z
csisat/lib/io/csisatInfixLex.mll
li-xin-yi/MoCHi
5fe401323e64ca2dd0235729e705d836f3068751
[ "Apache-2.0" ]
5
2019-11-08T07:49:00.000Z
2022-03-01T18:09:57.000Z
(* * CSIsat is an interpolating decision procedure for LA + EUF. * This file is part of CSIsat. * * Copyright (C) 2007-2008 Dirk Beyer and Damien Zufferey. * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the...
30.848485
76
0.480354
af7e427fd1f990678bfa574f8046e7b476519ac8
19,161
ml
OCaml
src/lib_client_base_unix/client_config.ml
noclouds/tezos-master
6c31af7ab3ea782f89f988e389e9b0860207a8d6
[ "MIT" ]
null
null
null
src/lib_client_base_unix/client_config.ml
noclouds/tezos-master
6c31af7ab3ea782f89f988e389e9b0860207a8d6
[ "MIT" ]
null
null
null
src/lib_client_base_unix/client_config.ml
noclouds/tezos-master
6c31af7ab3ea782f89f988e389e9b0860207a8d6
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
33.323478
131
0.620427
af616319bb562324c3aca7345e7b4580fe0acd8c
3,105
mli
OCaml
src/proto_004_Pt24m4xi/lib_protocol/script_interpreter.mli
blockchain-app12/cuprumMainnet
089174cfc4f8ebce45e61107d090a7933b8dc9cd
[ "MIT" ]
8
2021-11-02T13:06:58.000Z
2021-11-18T19:07:33.000Z
src/proto_004_Pt24m4xi/lib_protocol/script_interpreter.mli
blockchain-app12/cuprumMainnet
089174cfc4f8ebce45e61107d090a7933b8dc9cd
[ "MIT" ]
14
2020-05-07T15:51:28.000Z
2022-02-06T10:11:51.000Z
src/proto_004_Pt24m4xi/lib_protocol/script_interpreter.mli
blockchain-app12/cuprumMainnet
089174cfc4f8ebce45e61107d090a7933b8dc9cd
[ "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> *) ...
48.515625
79
0.568116
af1ddd1d174a6e66faaff99711daee8389d1db9d
3,128
ml
OCaml
result/fixml/diff/sub172/original.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
result/fixml/diff/sub172/original.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
result/fixml/diff/sub172/original.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
type aexp = | Const of int | Var of string | Power of (string * int) | Times of aexp list | Sum of aexp list let rec checkpow lst str = match lst with | [] -> 1 | hd :: tl -> ( match hd with | Power (a, b) -> if a = str then b else checkpow tl str | _ -> checkpow tl str ) let checkt...
29.509434
79
0.511509
af29379cc7fa2484ca992d2a8c1e80806a7b265e
1,512
ml
OCaml
syntax.ml
ry3s/OCaml-call-by-name
0984896ecacc16e65b7a567f61b2e1f86445fe4c
[ "BSD-3-Clause" ]
3
2020-03-18T04:41:07.000Z
2020-03-18T13:00:53.000Z
syntax.ml
ry3s/OCaml-call-by-name
0984896ecacc16e65b7a567f61b2e1f86445fe4c
[ "BSD-3-Clause" ]
null
null
null
syntax.ml
ry3s/OCaml-call-by-name
0984896ecacc16e65b7a567f61b2e1f86445fe4c
[ "BSD-3-Clause" ]
null
null
null
type pattern = PInt of int | PBool of bool | PVar of name | PTuple of pattern list | PNil | PCons of pattern * pattern | PUnderscore and expr = EVar of name | EValue of value | EBin of binOp * expr * expr ...
29.647059
58
0.460317
f3126fd9a687558e96ca48afaede66a564b9b9f2
7,128
ml
OCaml
stable/test/sexp_grammar_stable_test.ml
janestreet/sexp_grammar
1d1915282f3777f077f9f60d06a89930da86187f
[ "MIT" ]
3
2021-12-17T02:45:24.000Z
2022-03-30T19:17:07.000Z
stable/test/sexp_grammar_stable_test.ml
janestreet/sexp_grammar
1d1915282f3777f077f9f60d06a89930da86187f
[ "MIT" ]
null
null
null
stable/test/sexp_grammar_stable_test.ml
janestreet/sexp_grammar
1d1915282f3777f077f9f60d06a89930da86187f
[ "MIT" ]
1
2021-12-17T02:47:45.000Z
2021-12-17T02:47:45.000Z
open! Core open Expect_test_helpers_core open struct type binary_tree = | Leaf | Node of binary_tree * binary_tree [@@deriving sexp, sexp_grammar] let example_grammars = [ [%sexp_grammar: unit].untyped ; [%sexp_grammar: bool].untyped ; [%sexp_grammar: (int, float) Either.t list option].untyp...
34.601942
170
0.454125
f3b9aef7980ed34d73e231c86df73bad10843365
620
ml
OCaml
data/derived/comb/progs/unify/prog6037.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/prog1175.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog1175.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let rec padZero l1 l2 = if (List.length l1) < (List.length l2) then padZero (0 :: l1) l2 else if (List.length l1) > (List.length l2) then padZero l1 (0 :: l2) else (l1, l2);; let rec removeZero l = match l with | [] -> [] | h::t -> if h = 0 then removeZero t else l;; let bigAdd l1 l2 = let add ...
28.181818
71
0.553226
afa95e9ac6128718596d71d98bf82473b2fce1f7
1,891
ml
OCaml
hex_num.ml
io7m/jfppg
76636bf0b7a7569bc64c224ad13e97acc14e0f37
[ "0BSD" ]
null
null
null
hex_num.ml
io7m/jfppg
76636bf0b7a7569bc64c224ad13e97acc14e0f37
[ "0BSD" ]
null
null
null
hex_num.ml
io7m/jfppg
76636bf0b7a7569bc64c224ad13e97acc14e0f37
[ "0BSD" ]
null
null
null
(* * Copyright © 2012 http://io7m.com * * Permission to use, copy, modify, and/or 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" AND THE AUTHOR DISCL...
28.223881
75
0.610788
af84eab8991231b5cffe6b1584afc679aff6650c
230
ml
OCaml
benchmarks/mem/mem/submissions/sub13.ml
kupl/FixML
0a032a733d68cd8ccc8b1034d2908cd43b241fce
[ "MIT" ]
10
2018-11-06T00:08:12.000Z
2019-12-05T11:05:16.000Z
benchmarks/I/mem/sub2.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
benchmarks/I/mem/sub2.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
2
2020-02-06T00:36:38.000Z
2020-07-27T09:53:35.000Z
type btree = | Empty | Node of int * btree * btree let rec mem : int -> btree -> bool = fun n tree -> match tree with |Empty-> false |Node(m, left, right) -> if n = m then true else if n < m then mem n left else mem n right;;
19.166667
44
0.626087
f351b6ee66f2c0a3fd309ed3591bbad802fc2021
657
ml
OCaml
hphp/hack/src/client/clientCommand.ml
fredemmott/hhvm
e819c0c5016607c286384d9c76e33fa4ef42d4bb
[ "PHP-3.01", "Zend-2.0" ]
1
2016-10-08T12:13:09.000Z
2016-10-08T12:13:09.000Z
hphp/hack/src/client/clientCommand.ml
fredemmott/hhvm
e819c0c5016607c286384d9c76e33fa4ef42d4bb
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/client/clientCommand.ml
fredemmott/hhvm
e819c0c5016607c286384d9c76e33fa4ef42d4bb
[ "PHP-3.01", "Zend-2.0" ]
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. * *) type command ...
22.655172
80
0.70624
af04f43e1073ef20171599876bb4e8e99a5dbe7f
1,266
ml
OCaml
hphp/hack/src/typing/typing_heap.ml
sathvikl/hiphop-php
34fa1033968d6ef243dcdb46eca2289d6ad674d2
[ "PHP-3.01", "Zend-2.0" ]
7
2015-08-28T06:20:50.000Z
2021-11-08T09:48:24.000Z
hphp/hack/src/typing/typing_heap.ml
sathvikl/hiphop-php
34fa1033968d6ef243dcdb46eca2289d6ad674d2
[ "PHP-3.01", "Zend-2.0" ]
1
2020-01-19T19:06:32.000Z
2020-01-19T19:06:32.000Z
hphp/hack/src/typing/typing_heap.ml
sathvikl/hiphop-php
34fa1033968d6ef243dcdb46eca2289d6ad674d2
[ "PHP-3.01", "Zend-2.0" ]
3
2018-01-23T20:44:59.000Z
2021-05-06T12:45:31.000Z
(** * 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. * *) module type R...
21.827586
80
0.652449
afc35e233aadc18cfc1163c191dcd056580cf0fc
4,692
ml
OCaml
src/hack_forked/test/unit/utils/http_lite_test.ml
dmitryvinn/flow-1
9ef203b34fd36fe390467456cbd0ce6c4920522e
[ "MIT" ]
null
null
null
src/hack_forked/test/unit/utils/http_lite_test.ml
dmitryvinn/flow-1
9ef203b34fd36fe390467456cbd0ce6c4920522e
[ "MIT" ]
null
null
null
src/hack_forked/test/unit/utils/http_lite_test.ml
dmitryvinn/flow-1
9ef203b34fd36fe390467456cbd0ce6c4920522e
[ "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. *) (* helper *) let write (fd : Unix.file_descr) (msg : string) : unit = let _ = Unix.write_substring fd msg 0 (String.length msg)...
36.65625
99
0.678815
f34e5cb93a031c4918745bde94409bab04ab93f9
7,124
ml
OCaml
data/derived/comb/progs/unify/prog8294.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/prog3504.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog3504.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXX *) (*XXXXXXXXXXXXXXXXXXXXXXXXXXX*) let rec sumList xs = match xs with [] -> 0 | h::t -> h + sumList(t) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX *) let _ = sumList [1; 2; 3; 4] let _ = sumList [1; -2; 3; 5] let _ = sumList [1; 3; 5; 7; 9; 11]...
24.313993
94
0.618052
afa2702e923b0d26286d4b16afa59c0dc1be493d
414
ml
OCaml
benchmarks/coinchange/coinchange/submissions/sub2.ml
kupl/FixML
0a032a733d68cd8ccc8b1034d2908cd43b241fce
[ "MIT" ]
10
2018-11-06T00:08:12.000Z
2019-12-05T11:05:16.000Z
benchmarks/coinchange/coinchange/submissions/sub2.ml
kupl/FixML
0a032a733d68cd8ccc8b1034d2908cd43b241fce
[ "MIT" ]
null
null
null
benchmarks/coinchange/coinchange/submissions/sub2.ml
kupl/FixML
0a032a733d68cd8ccc8b1034d2908cd43b241fce
[ "MIT" ]
2
2020-02-06T14:59:50.000Z
2022-03-16T19:25:43.000Z
let change : int list -> int -> int =fun coins amount -> let rec length l= match l with |[]->0 |hd::tl-> 1+length tl in let amount = amount -( amount mod 5) in let rec counter coins amount n = if amount =0 then 1 else if amount <0 then 0 else if n=length coins then 0 else ((counter coins ...
18
83
0.625604
af0bb57dbe96a33c072a93a4d3ec7e7f30e65004
49,398
ml
OCaml
src/lib_event_logging/internal_event.ml
Sudha247/tezos
63361867c3b3c18c530f5636254a0c5541dc041e
[ "MIT" ]
null
null
null
src/lib_event_logging/internal_event.ml
Sudha247/tezos
63361867c3b3c18c530f5636254a0c5541dc041e
[ "MIT" ]
null
null
null
src/lib_event_logging/internal_event.ml
Sudha247/tezos
63361867c3b3c18c530f5636254a0c5541dc041e
[ "MIT" ]
1
2021-07-19T07:00:37.000Z
2021-07-19T07:00:37.000Z
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
31.443666
93
0.583202
f38fb73c98580eac245e99eb72ce4d3e4ef872df
873
mli
OCaml
extraction/src/LexUtil.mli
pranjalv9/ergo
9e216d86c87c6b67f640e7982f0e639a792e6207
[ "Apache-2.0" ]
null
null
null
extraction/src/LexUtil.mli
pranjalv9/ergo
9e216d86c87c6b67f640e7982f0e639a792e6207
[ "Apache-2.0" ]
null
null
null
extraction/src/LexUtil.mli
pranjalv9/ergo
9e216d86c87c6b67f640e7982f0e639a792e6207
[ "Apache-2.0" ]
null
null
null
(* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed u...
28.16129
75
0.728522
af337b707eab799c90b0518d9f7f7c4106bfa3d0
80
mli
OCaml
CPU/ver2/compiler/2nd-mc/inline2.mli
yoshi-ki/BACHELOR
65d01c62ab2ea4a6d2616a6b6c535bd4f1645630
[ "MIT" ]
null
null
null
CPU/ver2/compiler/2nd-mc/inline2.mli
yoshi-ki/BACHELOR
65d01c62ab2ea4a6d2616a6b6c535bd4f1645630
[ "MIT" ]
null
null
null
CPU/ver2/compiler/2nd-mc/inline2.mli
yoshi-ki/BACHELOR
65d01c62ab2ea4a6d2616a6b6c535bd4f1645630
[ "MIT" ]
null
null
null
val f : KNormal.t -> KNormal.t val threshold : int ref val unlimited : bool ref
20
30
0.7125
afb947901c7fc75a4d10dcc657b9116f9f3b514f
19,374
ml
OCaml
GeomEdit.ml
ecpeterson/Smithy
effccb35c7ee0828ad437e0572993437622ae3b8
[ "NCSA" ]
1
2020-08-06T19:28:11.000Z
2020-08-06T19:28:11.000Z
GeomEdit.ml
ecpeterson/Smithy
effccb35c7ee0828ad437e0572993437622ae3b8
[ "NCSA" ]
null
null
null
GeomEdit.ml
ecpeterson/Smithy
effccb35c7ee0828ad437e0572993437622ae3b8
[ "NCSA" ]
null
null
null
(*** GeomEdit.ml contains lengthy algorithms that correspond to geometric * manipulations of map data. ***) open CamlExt let new_point = ref None (* this gets called on the mouse down event when drawing a line *) let start_line x y choose_distance = let do_new_point () = (* spawn a new point, select it *)...
48.924242
86
0.586766