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
bc1fd2724104dd5970f331d74f662f90f8471c38
110
ml
OCaml
data/derived/comb/progs/unify/prog2041.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/prog2041.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog2041.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let (x,y) = ("5", 5);; let rec wwhile (f,b) = let f b = (x, y) in if x = true then wwhile (f, x) else x;;
18.333333
61
0.490909
bc3d69ed64e1673cfb2955bc344ac005e2d1b422
491
ml
OCaml
Exercise6Tests.ml
rw544/Functionally-Pragmatic-Programming-Workbook-Code-Materials
4134acbcd9c9ff5483d98da2466d2e9e4cb6e5e7
[ "MIT" ]
null
null
null
Exercise6Tests.ml
rw544/Functionally-Pragmatic-Programming-Workbook-Code-Materials
4134acbcd9c9ff5483d98da2466d2e9e4cb6e5e7
[ "MIT" ]
null
null
null
Exercise6Tests.ml
rw544/Functionally-Pragmatic-Programming-Workbook-Code-Materials
4134acbcd9c9ff5483d98da2466d2e9e4cb6e5e7
[ "MIT" ]
null
null
null
(* --------------------- Exercise 6: Scope and Partial Application Test Suite --------------------- *) (* Compile: ocamlc -o test [file path], Execute: ./test *) module Exercise6Tests = struct (* Copy contents from module [Exercise6] in Exercise6.ml *) end open Exercise6Tests let () = assert (dist_fast 4 7...
25.842105
102
0.625255
bc89999fc0e578571103e654e87cc817fb1db92a
26,382
ml
OCaml
src/base/neural/owl_neural_graph.ml
tachukao/owl
126274834577f879c85fbe1d0c9bb861f6240379
[ "MIT" ]
508
2018-03-24T12:15:49.000Z
2022-03-30T11:37:33.000Z
src/base/neural/owl_neural_graph.ml
tachukao/owl
126274834577f879c85fbe1d0c9bb861f6240379
[ "MIT" ]
344
2018-03-23T14:01:27.000Z
2022-03-31T16:14:14.000Z
src/base/neural/owl_neural_graph.ml
tachukao/owl
126274834577f879c85fbe1d0c9bb861f6240379
[ "MIT" ]
68
2018-03-28T21:34:12.000Z
2022-01-23T12:15:33.000Z
(* * OWL - OCaml Scientific and Engineering Computing * Copyright (c) 2016-2020 Liang Wang <liang.wang@cl.cam.ac.uk> *) (** Neural network: Graphical neural network *) open Owl_types (* Make functor starts *) module Make (Neuron : Owl_neural_neuron_sig.Sig) = struct module Neuron = Neuron open Neuron open ...
30.254587
90
0.616064
bc65432f44be1c70615b807ecaa699b082b68f8f
344
ml
OCaml
src/ppx_deriving_cmdliner_runtime.ml
pitag-ha/ppx_deriving_cmdliner
bdf34cf3cf16b88366daf27ee57a664c2591d3a1
[ "Apache-2.0" ]
84
2017-03-10T02:55:09.000Z
2021-12-01T19:47:14.000Z
src/ppx_deriving_cmdliner_runtime.ml
pitag-ha/ppx_deriving_cmdliner
bdf34cf3cf16b88366daf27ee57a664c2591d3a1
[ "Apache-2.0" ]
42
2017-03-10T16:35:18.000Z
2022-03-29T14:34:46.000Z
src/ppx_deriving_cmdliner_runtime.ml
pitag-ha/ppx_deriving_cmdliner
bdf34cf3cf16b88366daf27ee57a664c2591d3a1
[ "Apache-2.0" ]
14
2017-06-22T20:30:41.000Z
2022-03-05T14:13:47.000Z
include Ppx_deriving_runtime let (>>=) x f = match x with Result.Ok x -> f x | (Result.Error _) as x -> x let (>|=) x f = x >>= fun x -> Result.Ok (f x) let rec map_bind f acc xs = match xs with | x :: xs -> f x >>= fun x -> map_bind f (x :: acc) xs | [] -> Result.Ok (List.rev acc) type 'a error_or = ('a,...
21.5
62
0.563953
bca6dd6b95f3c4976a8fc07c2f4c948be57ba159
751
ml
OCaml
src/frontend/desugaring/desugar_generics.ml
paulocoghi/bolt
a81627f95af6577cd465df09290a51c9d469c667
[ "MIT" ]
305
2020-05-08T11:09:53.000Z
2022-03-19T18:43:58.000Z
src/frontend/desugaring/desugar_generics.ml
lqwu/bolt
1faf19d698852fdb6af2ee005a5f036ee1c76503
[ "MIT" ]
53
2019-11-10T13:46:46.000Z
2022-02-04T17:20:15.000Z
src/frontend/desugaring/desugar_generics.ml
lqwu/bolt
1faf19d698852fdb6af2ee005a5f036ee1c76503
[ "MIT" ]
33
2020-05-09T00:35:53.000Z
2022-03-14T21:10:25.000Z
open Count_generics_instantiations open Name_mangle_generics open Replace_generic_with_instantiated_class_defns open Typing (* First, count the number of concrete type parameters a generic class has been instantiated with *) (* NEXT, instantiate classes with concrete types *) (* Name mangle types so pointing to c...
35.761905
79
0.821571
bc6e454a5a8907f03a6416bd785ea9ac75712ab0
1,286
ml
OCaml
src/lib/blake2/blake2.ml
johnwu93/coda
7423f8d943faed91c4372012be3af57b2a7fafb3
[ "Apache-2.0" ]
null
null
null
src/lib/blake2/blake2.ml
johnwu93/coda
7423f8d943faed91c4372012be3af57b2a7fafb3
[ "Apache-2.0" ]
null
null
null
src/lib/blake2/blake2.ml
johnwu93/coda
7423f8d943faed91c4372012be3af57b2a7fafb3
[ "Apache-2.0" ]
null
null
null
open Core_kernel let digest_size_in_bits = 256 let digest_size_in_bytes = 256 / 8 include Digestif.Make_BLAKE2S (struct let digest_size = digest_size_in_bytes end) (* Little endian *) let bits_to_string bits = let n = Array.length bits in let rec make_byte offset acc i = let finished = i = 8 || offset + i...
26.791667
71
0.661742
bcfbdf06a7050b6b1b03999e1587efe5b2f42fb5
958
ml
OCaml
infer/src/biabduction/BiabductionConfig.ml
kupl/npex-analyzer
c9a6d60aa76f39bbab04af5186b0399bc4fcdb49
[ "MIT" ]
null
null
null
infer/src/biabduction/BiabductionConfig.ml
kupl/npex-analyzer
c9a6d60aa76f39bbab04af5186b0399bc4fcdb49
[ "MIT" ]
null
null
null
infer/src/biabduction/BiabductionConfig.ml
kupl/npex-analyzer
c9a6d60aa76f39bbab04af5186b0399bc4fcdb49
[ "MIT" ]
null
null
null
(* * Copyright (c) 2009-2013, Monoidics ltd. * 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! IStd (** Global variables *) let set_reference_and_call_function reference value...
25.891892
86
0.742171
bccffc0d9d9c51765baeb84bfef512edaf718a75
6,221
ml
OCaml
src/lib_rpc_http/media_type.ml
ulrikstrid/tezos
96d4653ba4fb48eccdd0ca309c98254c39396712
[ "MIT" ]
null
null
null
src/lib_rpc_http/media_type.ml
ulrikstrid/tezos
96d4653ba4fb48eccdd0ca309c98254c39396712
[ "MIT" ]
null
null
null
src/lib_rpc_http/media_type.ml
ulrikstrid/tezos
96d4653ba4fb48eccdd0ca309c98254c39396712
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
38.401235
79
0.520013
44821039d49ed2c443892fe1b509e2937a6cc2bd
591
ml
OCaml
chapter02/driver.ml
youwithouto/MCI-ML
353b9d2d505f20936d6360269f232e9354486204
[ "MIT" ]
null
null
null
chapter02/driver.ml
youwithouto/MCI-ML
353b9d2d505f20936d6360269f232e9354486204
[ "MIT" ]
null
null
null
chapter02/driver.ml
youwithouto/MCI-ML
353b9d2d505f20936d6360269f232e9354486204
[ "MIT" ]
null
null
null
open Core open Lexer open Lexing let rec prt lexbuf = let v = Lexer.read lexbuf in match v with | ("EOF", l, c) -> printf "%s\t(%d:%d)\n" "eof" l c; | (token, l, c) -> printf "%s\t(%d:%d)\n" token l c; prt lexbuf let loop filename () = let inx = In_channel.create filename in let lexbuf = Lexin...
22.730769
71
0.632826
bcef109d27b7690640b1de7abe7b560ac1f61849
588
mli
OCaml
lib/env.mli
npm-opam/jenga
a2356d38bbe3d5be9cbcd4dae4d5a998521f4f44
[ "Apache-2.0" ]
null
null
null
lib/env.mli
npm-opam/jenga
a2356d38bbe3d5be9cbcd4dae4d5a998521f4f44
[ "Apache-2.0" ]
null
null
null
lib/env.mli
npm-opam/jenga
a2356d38bbe3d5be9cbcd4dae4d5a998521f4f44
[ "Apache-2.0" ]
null
null
null
open! Core.Std open! Async.Std type t val create : ?putenv : (string * string option) list -> ?command_lookup_path:[`Replace of string list | `Extend of string list] -> ?build_begin : (unit -> unit Deferred.t) -> ?build_end : (unit -> unit Deferred.t) -> ?artifacts: (dir:Path.t -> Path.t list Dep.t) -> (...
28
76
0.646259
4455f4583843037f1efbd49aeec47646e9442518
4,121
ml
OCaml
bench/bench.ml
mndrix/dune
30b84ff370351b13f05db34fd952dfe5d0249bcb
[ "MIT" ]
245
2016-12-02T14:13:32.000Z
2018-01-14T20:00:40.000Z
bench/bench.ml
mndrix/dune
30b84ff370351b13f05db34fd952dfe5d0249bcb
[ "MIT" ]
380
2017-01-28T18:46:52.000Z
2018-01-17T13:34:51.000Z
bench/bench.ml
mndrix/dune
30b84ff370351b13f05db34fd952dfe5d0249bcb
[ "MIT" ]
59
2016-12-02T13:58:19.000Z
2018-01-06T18:23:02.000Z
open Stdune module Process = Dune_engine.Process module Config = Dune_util.Config module Json = struct include Chrome_trace.Json include Dune_stats.Json end module Output = struct type measurement = [ `Int of int | `Float of float ] type bench = { name : string ; metrics : (string...
25.75625
77
0.584567
bc766f279210c3b244686af98bfac37944777928
16,137
ml
OCaml
fuzz/main.ml
maiste/repr
401e6f3391d26bd389aeea6e6a62b31cfaaf2fa8
[ "0BSD" ]
null
null
null
fuzz/main.ml
maiste/repr
401e6f3391d26bd389aeea6e6a62b31cfaaf2fa8
[ "0BSD" ]
null
null
null
fuzz/main.ml
maiste/repr
401e6f3391d26bd389aeea6e6a62b31cfaaf2fa8
[ "0BSD" ]
null
null
null
open Crowbar module T = Repr let ( |+ ) = T.( |+ ) let ( |~ ) = T.( |~ ) let fmt = Format.sprintf (* This is part of the standard library as of 4.08 (see [Option.map]). *) let option_map f o = match o with None -> None | Some t -> Some (f t) (* This is part of the standard library as of 4.08 (see [Result.map] and [R...
37.182028
96
0.6117
44c674ff7d52d218adae0bc1f2e6e7b41287b5ce
737
mli
OCaml
bootstrap/src/basis/slice.mli
BranchTaken/Hemlock
25a3fce449caa06ad46db351efcfb428f423184d
[ "MIT" ]
25
2020-02-03T20:31:04.000Z
2022-03-30T17:22:35.000Z
bootstrap/src/basis/slice.mli
BranchTaken/Hemlock
25a3fce449caa06ad46db351efcfb428f423184d
[ "MIT" ]
152
2020-02-03T23:16:05.000Z
2022-02-24T22:14:04.000Z
bootstrap/src/basis/slice.mli
cevans87/Hemlock
448c17ba6a59064820f3c15e50b13a0323ea1aa0
[ "MIT" ]
4
2020-02-03T07:36:22.000Z
2020-10-31T03:44:52.000Z
open SliceIntf module MakeMonoIter (Cursor : CursorIntf.SMonoIter) : SMonoIter with type container := Cursor.container with type cursor := Cursor.t with type elm := Cursor.elm module MakeMonoIndex (Cursor : CursorIntf.SMonoIndex) : SMonoIndex with type container := Cursor.container with type cursor := C...
28.346154
55
0.720488
bcfecfa331638bde21e7c46658e0972f548a184d
13,968
mli
OCaml
src/model/paths.mli
lubegasimon/odoc
6d3fc2bf1aa86c275ceb033154a6e70987dcbf09
[ "0BSD" ]
null
null
null
src/model/paths.mli
lubegasimon/odoc
6d3fc2bf1aa86c275ceb033154a6e70987dcbf09
[ "0BSD" ]
null
null
null
src/model/paths.mli
lubegasimon/odoc
6d3fc2bf1aa86c275ceb033154a6e70987dcbf09
[ "0BSD" ]
null
null
null
(* * Copyright (c) 2014 Leo White <lpw25@cl.cam.ac.uk> * * 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" AND TH...
24.722124
76
0.647265
bce8ad56df2b0539a5c5c3a2493f5c6275194a83
7,763
ml
OCaml
data/derived/comb/progs/unify/prog4793.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/prog4793.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog4793.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.404762
148
0.688522
bcf16a2e2659061db9b521f03361cd8752a9bd0a
1,468
ml
OCaml
02-exercises/03-define_functions/problem.ml
kirisky/learn-ocaml-workshop
4a6c7b2fd36865a1fc9417fd974cc0e18b5c2e0c
[ "Apache-2.0" ]
null
null
null
02-exercises/03-define_functions/problem.ml
kirisky/learn-ocaml-workshop
4a6c7b2fd36865a1fc9417fd974cc0e18b5c2e0c
[ "Apache-2.0" ]
null
null
null
02-exercises/03-define_functions/problem.ml
kirisky/learn-ocaml-workshop
4a6c7b2fd36865a1fc9417fd974cc0e18b5c2e0c
[ "Apache-2.0" ]
null
null
null
open! Base (* Recall from exercise 2 that we use [let] to define functions. Definitions take on the form: {| let FUNCTION_NAME ARG1 ARG2 ... = BODY |} For example, here we define a function [add1] that takes a single int argument and returns that argument plus 1. *) let add1 arg = arg + 1 (* [string_a...
27.185185
73
0.611035
bc5b107192d5b42466b3901a15126c210a362674
11,269
ml
OCaml
software_foundations/volume3_verified_functional_algorithms/redblack.ml
timxor/typetheory
f05f10fbfad8b0f2400137077a680c90814c4971
[ "MIT" ]
1
2021-06-06T03:23:05.000Z
2021-06-06T03:23:05.000Z
software_foundations/volume3_verified_functional_algorithms/redblack.ml
timxor/typetheory
f05f10fbfad8b0f2400137077a680c90814c4971
[ "MIT" ]
null
null
null
software_foundations/volume3_verified_functional_algorithms/redblack.ml
timxor/typetheory
f05f10fbfad8b0f2400137077a680c90814c4971
[ "MIT" ]
2
2021-10-11T07:35:05.000Z
2022-01-02T11:46:00.000Z
type ('a, 'b) prod = | Pair of 'a * 'b type key = int type color = | Red | Black type 'v tree = | E | T of color * 'v tree * key * 'v * 'v tree (** val empty_tree : 'a1 tree **) let empty_tree = E (** val lookup : 'a1 -> key -> 'a1 tree -> 'a1 **) let rec lookup default x = function | E -> default | T (_, t...
40.246429
78
0.268968
bcf5d158333ad16915e71fda7b04d2227b44d30c
2,212
mli
OCaml
infer/src/backend/CallGraph.mli
abs12seth/infer
90d0aa992ca57cc9ad51cd7dda732157ab21b9a8
[ "MIT" ]
null
null
null
infer/src/backend/CallGraph.mli
abs12seth/infer
90d0aa992ca57cc9ad51cd7dda732157ab21b9a8
[ "MIT" ]
null
null
null
infer/src/backend/CallGraph.mli
abs12seth/infer
90d0aa992ca57cc9ad51cd7dda732157ab21b9a8
[ "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! IStd module F = Format module type NodeSig = sig type t = private {id: int; pname: Typ.Procname.t; mutable successors: ...
31.15493
100
0.686257
bc109a65f8fbc9739d87d8552a5f455a1a616265
455
ml
OCaml
test/passing/comment_in_modules.ml
bkase/ocamlformat
72edb1e313f957d8de4dd4d981f3ce6fe05235f6
[ "MIT" ]
null
null
null
test/passing/comment_in_modules.ml
bkase/ocamlformat
72edb1e313f957d8de4dd4d981f3ce6fe05235f6
[ "MIT" ]
null
null
null
test/passing/comment_in_modules.ml
bkase/ocamlformat
72edb1e313f957d8de4dd4d981f3ce6fe05235f6
[ "MIT" ]
null
null
null
module M = struct (* comments *) end module M : sig (* comments *) end = struct (* comments *) end module type M = sig (* comments *) end (** Xxxxxxx xxxxxxxx xx xxxxxxx xxxxxxxxxxxxx xxxxxxxxx xx xxxx *) module Mmmmmmmmmmmmmmmmmmmmmm = Aaaaaaaaaaaaaaaaaaaaaa.Bbbbbbbbbbbbbbbbbbbbbbbb (** Xxxxxxx xxxxxxxx xx...
22.75
90
0.740659
8aff2194030f433f302c02111f867f4ae5d8d5a5
70,931
ml
OCaml
hphp/hack/src/server/serverTypeCheck.ml
ssandler/hhvm
8c58bba8d8ffd34bb8d2042790b63398aa678b72
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/server/serverTypeCheck.ml
ssandler/hhvm
8c58bba8d8ffd34bb8d2042790b63398aa678b72
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/server/serverTypeCheck.ml
ssandler/hhvm
8c58bba8d8ffd34bb8d2042790b63398aa678b72
[ "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 Hh_prelude open ServerCheckUtils open SearchServiceRunner open ServerEnv open Reordered_argument_collections mo...
35.079624
120
0.634814
8a500a3eb87fbbc06c87a16cf3a07d34f764d98f
869
ml
OCaml
libraries/s3/lib/putBucketAcl.ml
UnrealAkama/ocaml-aws
6947ff1acc4c911702d25b462bb6640cd70997d4
[ "BSD-3-Clause" ]
null
null
null
libraries/s3/lib/putBucketAcl.ml
UnrealAkama/ocaml-aws
6947ff1acc4c911702d25b462bb6640cd70997d4
[ "BSD-3-Clause" ]
null
null
null
libraries/s3/lib/putBucketAcl.ml
UnrealAkama/ocaml-aws
6947ff1acc4c911702d25b462bb6640cd70997d4
[ "BSD-3-Clause" ]
null
null
null
open Types open Aws type input = PutBucketAclRequest.t type output = unit type error = Errors_internal.t let service = "s3" 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))) (List.append [ "Version",...
23.486486
86
0.632911
bcd9b6591d20e82f7e6a11fa3cb14a24c7cdf571
19,273
mli
OCaml
src/iter.mli
rizo/iter
b89eee5c78e34481442ca1c65e1616d4ec5299ee
[ "BSD-2-Clause" ]
14
2016-06-22T01:57:02.000Z
2019-12-13T08:10:52.000Z
src/iter.mli
rizo/iter
b89eee5c78e34481442ca1c65e1616d4ec5299ee
[ "BSD-2-Clause" ]
1
2017-04-18T12:47:55.000Z
2017-04-18T12:47:55.000Z
src/iter.mli
rizo/iter
b89eee5c78e34481442ca1c65e1616d4ec5299ee
[ "BSD-2-Clause" ]
1
2018-09-26T14:07:48.000Z
2018-09-26T14:07:48.000Z
(** An interface for pure iterators with explicit state. This module implements combinators for consuming and transforming iterators. External containers can use functors provided in this module to implement the iteration extensions. Three types of iterables can be implemented: input iterables, index i...
36.501894
88
0.548903
bc33f7eb670ed5f3960750165682b2f352f2eed9
4,541
mli
OCaml
vendor/menhir/src/positions.mli
prashant-shahi/pesy
5562d9387ba62704f6505c505c906b82f5d73a51
[ "MIT" ]
2
2022-03-03T01:38:24.000Z
2022-03-03T01:54:36.000Z
vendor/menhir/src/positions.mli
prashant-shahi/pesy
5562d9387ba62704f6505c505c906b82f5d73a51
[ "MIT" ]
1
2021-11-08T19:54:28.000Z
2021-11-08T19:54:28.000Z
vendor/menhir/src/positions.mli
prashant-shahi/pesy
5562d9387ba62704f6505c505c906b82f5d73a51
[ "MIT" ]
1
2022-03-02T19:35:36.000Z
2022-03-02T19:35:36.000Z
(******************************************************************************) (* *) (* Menhir *) (* ...
33.88806
84
0.559568
bcc65ea6ded3bc47c6902793840dd82cad6197b2
682
ml
OCaml
src/lib/lite_curve_choice/lite_curve_choice.ml
jjangg96/coda
f9607eb8536e4a897ca48e1e4fe5a085513cf1ff
[ "Apache-2.0" ]
1
2020-05-05T07:31:26.000Z
2020-05-05T07:31:26.000Z
src/lib/lite_curve_choice/lite_curve_choice.ml
jjangg96/coda
f9607eb8536e4a897ca48e1e4fe5a085513cf1ff
[ "Apache-2.0" ]
null
null
null
src/lib/lite_curve_choice/lite_curve_choice.ml
jjangg96/coda
f9607eb8536e4a897ca48e1e4fe5a085513cf1ff
[ "Apache-2.0" ]
null
null
null
[%%import "/src/config.mlh"] module Tock298 = struct include Snarkette.Mnt6_80 let fq_to_scalars (x : Fq.t) : N.t list = [Fq.to_bigint x] end module Tock753 = struct include Snarkette.Mnt6753 let () = assert (Fq.length_in_bits = 753) let fq_to_scalars (x : Fq.t) : N.t list = let k' = Fq.length_in_bit...
16.238095
60
0.651026
bcdb8cd72fd279509cb5a622fd8a737fb96ff0d7
4,735
ml
OCaml
src/fmpc/fmpc.ml
tachukao/fmpc
a6ad5135b6fd4b364f68a016bfd0fbb3102303d0
[ "MIT" ]
null
null
null
src/fmpc/fmpc.ml
tachukao/fmpc
a6ad5135b6fd4b364f68a016bfd0fbb3102303d0
[ "MIT" ]
null
null
null
src/fmpc/fmpc.ml
tachukao/fmpc
a6ad5135b6fd4b364f68a016bfd0fbb3102303d0
[ "MIT" ]
null
null
null
(* * Fast MPC * * Bindings to Wang and Boyd's fast_mpc * * The original c code and matlab bindings can be found at * https://web.stanford.edu/~boyd/fast_mpc/ * *) open Bigarray module C = Fmpc_bindings.C (Fmpc_generated) type mat = (float, float64_elt, c_layout) Genarray.t type sys = { a : mat ; b : m...
31.993243
83
0.671595
bc86b0fc108fbb2617458c7a1687da808d204794
1,685
ml
OCaml
libraries/sqs/lib/getQueueUrl.ml
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
134
2016-01-11T19:35:49.000Z
2022-02-19T15:57:41.000Z
libraries/sqs/lib/getQueueUrl.ml
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
66
2016-01-12T00:32:47.000Z
2022-03-31T03:34:49.000Z
libraries/sqs/lib/getQueueUrl.ml
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
33
2016-01-11T23:13:26.000Z
2022-03-28T23:49:11.000Z
open Types open Aws type input = GetQueueUrlRequest.t type output = GetQueueUrlResult.t type error = Errors_internal.t let service = "sqs" let signature_version = Request.V4 let to_http service region req = let uri = Uri.add_query_params (Uri.of_string (Aws.Util.of_option_exn (Endpoints.url_of service...
26.328125
88
0.617804
44dd2f7a31b8d2e638dfc53f0e6e35930cfd34cc
6,090
ml
OCaml
src/analyses/condVars.ml
mikcp/analyzer
c506fa4bfed6dfd4d81c549e7a4c59be8122a855
[ "MIT" ]
64
2015-02-21T12:09:08.000Z
2022-03-30T14:38:16.000Z
src/analyses/condVars.ml
mikcp/analyzer
c506fa4bfed6dfd4d81c549e7a4c59be8122a855
[ "MIT" ]
507
2015-03-17T14:56:21.000Z
2022-03-31T12:25:20.000Z
src/analyses/condVars.ml
mikcp/analyzer
c506fa4bfed6dfd4d81c549e7a4c59be8122a855
[ "MIT" ]
39
2015-05-03T19:46:24.000Z
2022-03-30T14:38:18.000Z
(** Must equality between variables and logical expressions. *) open Prelude.Ana open Analyses module Domain = struct module V = Queries.ES include MapDomain.MapBot (Lval.CilLval) (V) let rec var_in_lval p (lh,offs) = var_in_offs p offs && match lh with | Var v -> p v | Mem e -> var_in_expr p e and v...
39.290323
163
0.616092
bca30e8be79d71f11dcf6a25bbd75edad4c6c8d9
73
ml
OCaml
data/derived/comb/progs/unify/prog3676.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/prog3676.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog3676.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let rec sumList xs = let x::t = xs in x + (if t != [] then sumList t);;
24.333333
71
0.547945
8abeaefda59ea66204ae77dc08aee3a00b1243e5
2,767
ml
OCaml
src/nonconsensus/snark_params/snark_params_nonconsensus.ml
jjangg96/coda
f9607eb8536e4a897ca48e1e4fe5a085513cf1ff
[ "Apache-2.0" ]
null
null
null
src/nonconsensus/snark_params/snark_params_nonconsensus.ml
jjangg96/coda
f9607eb8536e4a897ca48e1e4fe5a085513cf1ff
[ "Apache-2.0" ]
null
null
null
src/nonconsensus/snark_params/snark_params_nonconsensus.ml
jjangg96/coda
f9607eb8536e4a897ca48e1e4fe5a085513cf1ff
[ "Apache-2.0" ]
null
null
null
(* snark_params_nonconsensus.ml *) [%%import "/src/config.mlh"] [%%ifdef consensus_mechanism] [%%error "Snark_params_nonconsensus should not be compiled if there's a consensus \ mechanism"] [%%endif] open Snarkette [%%if curve_size = 753] (* only size we should be building nonconsensus code for *) module Mnt4 ...
20.962121
237
0.667149
bcb2130a4d435482867780281883245baf8d74f4
4,813
ml
OCaml
test/test_chomp_exp.ml
stg-tud/pi4
d0745c428cf546705c81b894b3b2c2698b4bb377
[ "Apache-2.0" ]
null
null
null
test/test_chomp_exp.ml
stg-tud/pi4
d0745c428cf546705c81b894b3b2c2698b4bb377
[ "Apache-2.0" ]
null
null
null
test/test_chomp_exp.ml
stg-tud/pi4
d0745c428cf546705c81b894b3b2c2698b4bb377
[ "Apache-2.0" ]
1
2022-01-25T13:09:29.000Z
2022-01-25T13:09:29.000Z
open Alcotest open Pi4 open Syntax open Formula let pp f = Pretty.pp_form [ ("y", Env.NameBind); ("x", Env.NameBind) ] f let eq x y = [%compare.equal: Formula.t] x y let exp = Alcotest.testable pp eq let foo_inst = Instance.{ name = "foo"; fields = [] } module T = Typechecker.CompleteChecker (struct let maxlen =...
34.378571
114
0.698317
bcbe3c8b8ca7d660b07593e2a58823458673ee23
118
ml
OCaml
Lang0/Utils.ml
rinderknecht/Mini-ML
e8e25830d1faa9b812cc18acdb4fd8563db7229d
[ "MIT" ]
2
2018-11-08T14:20:25.000Z
2020-11-06T14:57:11.000Z
Lang0/Utils.ml
rinderknecht/Mini-ML
e8e25830d1faa9b812cc18acdb4fd8563db7229d
[ "MIT" ]
null
null
null
Lang0/Utils.ml
rinderknecht/Mini-ML
e8e25830d1faa9b812cc18acdb4fd8563db7229d
[ "MIT" ]
null
null
null
let gen_sym = let counter = ref 0 in fun () -> incr counter; "v" ^ string_of_int !counter let swap f x y = f y x
19.666667
54
0.627119
bc578ef6858ca51a45ffd4c8cc16dad7d32e8e7a
1,367
ml
OCaml
src/utils/print.ml
Stienvdh/eff
80ff311a6509a20148c823c69a084cd3ce200b83
[ "BSD-2-Clause" ]
null
null
null
src/utils/print.ml
Stienvdh/eff
80ff311a6509a20148c823c69a084cd3ce200b83
[ "BSD-2-Clause" ]
null
null
null
src/utils/print.ml
Stienvdh/eff
80ff311a6509a20148c823c69a084cd3ce200b83
[ "BSD-2-Clause" ]
1
2020-11-06T07:37:00.000Z
2020-11-06T07:37:00.000Z
(** Pretty-printing functions *) let message ~verbosity ?loc ~header fmt = if verbosity <= !Config.verbosity then match loc with | Some loc when loc <> Location.unknown -> Format.fprintf !Config.error_formatter ("%s (%t):@," ^^ fmt ^^ "@.") header (Location.print loc) | _ -> ...
32.547619
77
0.615947
bcb43d91722a2cd5c84b3ecbc76adcc52a896466
359
ml
OCaml
xapi-idl/lib_test/network_interface_test.ml
edwintorok/message-switch
bd5c2e4db86998cba97b02ab2d4e1b91067e8817
[ "0BSD" ]
6
2015-05-09T18:10:05.000Z
2022-02-04T19:09:55.000Z
xapi-idl/lib_test/network_interface_test.ml
xcp-ng/message-switch
969eb1d156c6db0e2009696ada305ec4bc765a9d
[ "0BSD" ]
35
2015-04-08T10:32:16.000Z
2021-11-05T15:17:13.000Z
xapi-idl/lib_test/network_interface_test.ml
xcp-ng/message-switch
969eb1d156c6db0e2009696ada305ec4bc765a9d
[ "0BSD" ]
21
2015-06-17T13:55:18.000Z
2022-02-04T19:13:23.000Z
open Idl_test_common module GenPath = struct let test_data_path = "net_gen" end module OldPath = struct let test_data_path = "test_data/network" end module C = Network_interface.Interface_API (GenTestData (GenPath) (TJsonrpc)) module T = Network_interface.Interface_API (TestOldRpcs (OldPath) (TJsonrpc)) let tests =...
32.636364
77
0.791086
bc97bf1b360576266d5340a4068ca6bfc0304809
8,716
ml
OCaml
src/BitVecComponents.ml
SaswatPadhi/LIG-CHC
221c3f1c2996ced60384abb8716239086d24ec53
[ "MIT" ]
null
null
null
src/BitVecComponents.ml
SaswatPadhi/LIG-CHC
221c3f1c2996ced60384abb8716239086d24ec53
[ "MIT" ]
null
null
null
src/BitVecComponents.ml
SaswatPadhi/LIG-CHC
221c3f1c2996ced60384abb8716239086d24ec53
[ "MIT" ]
null
null
null
open Base open Expr let is_zero : Expr.t -> bool = function Const (Value.BitVec v) -> Bitarray.all_zeros v | _ -> false let is_one : Expr.t -> bool = function Const (Value.BitVec v) -> Bitarray.((unsafe_get v 0) && (all_zeros (shiftr v 1))) | _ -> false let equality = [ { (MakeComponent....
39.799087
104
0.464548
bcb6b2ab9b19f1f6f2f6d85acdeccf5ea4420762
8,375
ml
OCaml
data/derived/comb/progs/unify/prog0400.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/prog0400.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog0400.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.34593
148
0.687164
44e5eca0784d77151487f710bc5ca34ca9fa9383
1,888
ml
OCaml
data/sp14/0524.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/sp14/0524.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/sp14/0524.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
type expr = | VarX | VarY | Sine of expr | Cosine of expr | Average of expr* expr | Times of expr* expr | Thresh of expr* expr* expr* expr;; let pi = 4.0 *. (atan 1.0);; let rec eval (e,x,y) = match e with | VarX -> x | VarY -> y | Sine i -> sin (pi * (eval (i, x, y))) | Cosine i -> cos (pi...
16.417391
72
0.495763
bc4e9d65ecc7c94561059370ef286b77d9102615
230
ml
OCaml
result/fixml/mem/sub14/patch.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
result/fixml/mem/sub14/patch.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
result/fixml/mem/sub14/patch.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
type btree = Empty | Node of (int * btree * btree) let rec mem : int -> btree -> bool = fun n tree -> match tree with | Empty -> false | Node (x, y, z) -> if n = x then true else if mem n y then mem n y else mem n z
25.555556
66
0.578261
bcdf0b3037b283ce87d2759dbbdc85e91d32aa5e
10,542
ml
OCaml
source/command/analyzeCommand.ml
abishekvashok/pyre-check
20ae7df26216db06fcb17246f6125f4b6655890f
[ "MIT" ]
null
null
null
source/command/analyzeCommand.ml
abishekvashok/pyre-check
20ae7df26216db06fcb17246f6125f4b6655890f
[ "MIT" ]
1
2021-08-16T12:11:37.000Z
2021-08-16T12:11:37.000Z
source/command/analyzeCommand.ml
abishekvashok/pyre-check
20ae7df26216db06fcb17246f6125f4b6655890f
[ "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 Pyre let get_analysis_kind = function | "taint" -> TaintAnalysis.abstract_kind | _ -> Log.error "Invalid ...
34.907285
100
0.62436
bcf8c9c2556a712de5229ab86ea8a65a025f074e
2,499
ml
OCaml
physicaldm/physical_item_util.ml
tsuyoshi2/Galax
8871d4b4afb623e1a496cfe5fe142de9ebb2a2a8
[ "LPL-1.02" ]
3
2016-05-03T23:32:16.000Z
2019-07-04T10:29:09.000Z
physicaldm/physical_item_util.ml
tsuyoshi2/Galax
8871d4b4afb623e1a496cfe5fe142de9ebb2a2a8
[ "LPL-1.02" ]
1
2016-05-10T09:10:16.000Z
2016-05-10T09:10:16.000Z
physicaldm/physical_item_util.ml
tsuyoshi2/Galax
8871d4b4afb623e1a496cfe5fe142de9ebb2a2a8
[ "LPL-1.02" ]
2
2019-05-08T16:29:48.000Z
2020-02-20T21:44:11.000Z
(***********************************************************************) (* *) (* GALAX *) (* XQuery Engine *) (* ...
30.851852
89
0.519808
44017ece4d7b71c60d6ca0df345a36bc202a46fc
400
ml
OCaml
tests/tool-ocaml/t110-andint.ml
objmagic/synsyn
afad917e975fe16cb725e6cdd5a46e72ac8cb735
[ "WTFPL" ]
1
2016-05-17T14:29:13.000Z
2016-05-17T14:29:13.000Z
tests/tool-ocaml/t110-andint.ml
objmagic/synsyn
afad917e975fe16cb725e6cdd5a46e72ac8cb735
[ "WTFPL" ]
null
null
null
tests/tool-ocaml/t110-andint.ml
objmagic/synsyn
afad917e975fe16cb725e6cdd5a46e72ac8cb735
[ "WTFPL" ]
null
null
null
open Lib;; if (3 land 6) <> 2 then raise Not_found;; (** 0 CONSTINT 42 2 PUSHACC0 3 MAKEBLOCK1 0 5 POP 1 7 SETGLOBAL Lib 9 CONST2 10 PUSHCONSTINT 6 12 PUSHCONST3 13 ANDINT 14 NEQ 15 BRANCHIFNOT 22 17 GETGLOBAL Not_found 19 MAKEBLOCK1 0...
17.391304
41
0.55
bc976d2e1eba5b90742e9c8650d99ebfd78fec12
92
mli
OCaml
server/sentMailLib/status.mli
RunOrg/RunOrg
b53ee2357f4bcb919ac48577426d632dffc25062
[ "MIT" ]
5
2015-01-30T06:16:32.000Z
2020-04-14T09:08:49.000Z
server/sentMailLib/status.mli
RunOrg/RunOrg
b53ee2357f4bcb919ac48577426d632dffc25062
[ "MIT" ]
null
null
null
server/sentMailLib/status.mli
RunOrg/RunOrg
b53ee2357f4bcb919ac48577426d632dffc25062
[ "MIT" ]
null
null
null
(* © 2014 RunOrg *) include Fmt.FMT with type t = [ `Preview | `Scheduled | `Sent ]
13.142857
30
0.565217
bceca3b92c470ce45eaf7a23aa174d47d0ef2903
544
ml
OCaml
src/PPEnv.ml
dariusf/ppx_polyprint
6473b2cc1d56b2f3bc48b9e6a3b9cbcc7113073e
[ "MIT" ]
18
2016-03-11T02:38:32.000Z
2021-01-17T18:15:58.000Z
src/PPEnv.ml
dariusf/ppx_polyprint
6473b2cc1d56b2f3bc48b9e6a3b9cbcc7113073e
[ "MIT" ]
null
null
null
src/PPEnv.ml
dariusf/ppx_polyprint
6473b2cc1d56b2f3bc48b9e6a3b9cbcc7113073e
[ "MIT" ]
null
null
null
(** Information passed across traversals *) (** Configuration module path provided for each function name *) module NameConfigMap = Map.Make(String) let configuration_modules = ref (NameConfigMap.empty : string list NameConfigMap.t) (** The default module to use if not explicitly given *) let specified_default_modul...
25.904762
83
0.731618
44d79c1612a97f84709ffefcf25c56a32cb8c32e
66,865
ml
OCaml
geas/fzn/fzn_geas.ml
AppleGamer22/FIT2082
298459dbfdb158bdd4e6d8428e6c958d186fdb20
[ "MIT" ]
3
2021-09-29T08:06:31.000Z
2022-03-25T10:24:54.000Z
geas/fzn/fzn_geas.ml
AppleGamer22/FIT2082
298459dbfdb158bdd4e6d8428e6c958d186fdb20
[ "MIT" ]
null
null
null
geas/fzn/fzn_geas.ml
AppleGamer22/FIT2082
298459dbfdb158bdd4e6d8428e6c958d186fdb20
[ "MIT" ]
null
null
null
module S = Stream module H = Hashtbl module Dy = DynArray module L = List module U = Util open Token module P = FznParser module Pr = Problem module Simp = Simplify module Pol = Polarity module Sol = Solver module At = Atom module B = Builtins open Build open Registry exception Unknown_constraint of string let ...
36.045822
181
0.61165
bcd9ede9e5be0e1e268dcd91abea6afd6556da85
1,075
mli
OCaml
Untrusted_Transformations/SoftwarePipelining/IMS.mli
jtristan/CompCert-Extensions
c416034cc75ebae26c2f1e58f778d66b1ac2ceee
[ "MIT" ]
1
2020-11-01T19:57:43.000Z
2020-11-01T19:57:43.000Z
Untrusted_Transformations/SoftwarePipelining/IMS.mli
jtristan/CompCert-Extensions
c416034cc75ebae26c2f1e58f778d66b1ac2ceee
[ "MIT" ]
null
null
null
Untrusted_Transformations/SoftwarePipelining/IMS.mli
jtristan/CompCert-Extensions
c416034cc75ebae26c2f1e58f778d66b1ac2ceee
[ "MIT" ]
null
null
null
(***********************************************************************) (* *) (* Compcert Extensions *) (* *) (* ...
46.73913
94
0.31907
bc902839eb9b65e0e02638424c023fd3e3c5dc84
3,450
ml
OCaml
sihl/src/web_csrf.ml
econ-uzh/sihl
a0148d815146b28cd6745d087a976efe8334c5fa
[ "MIT" ]
null
null
null
sihl/src/web_csrf.ml
econ-uzh/sihl
a0148d815146b28cd6745d087a976efe8334c5fa
[ "MIT" ]
null
null
null
sihl/src/web_csrf.ml
econ-uzh/sihl
a0148d815146b28cd6745d087a976efe8334c5fa
[ "MIT" ]
null
null
null
let log_src = Logs.Src.create "sihl.middleware.csrf" module Logs = (val Logs.src_log log_src : Logs.LOG) let key : string Opium.Context.key = Opium.Context.Key.create ("csrf token", Sexplib.Std.sexp_of_string) ;; (* Can be used to fetch token in view for forms *) let find req = Opium.Context.find key req.Opium.Req...
33.495146
89
0.644638
bcfcaec5770451b64a52e11c680351c549b54321
1,522
ml
OCaml
src/dune_rules/dune_rules.ml
janestreet/jbuilder
863174b353146a5af143fd78530b1eafad987eda
[ "Apache-2.0" ]
245
2016-12-02T14:13:32.000Z
2018-01-14T20:00:40.000Z
src/dune_rules/dune_rules.ml
janestreet/jbuilder
863174b353146a5af143fd78530b1eafad987eda
[ "Apache-2.0" ]
380
2017-01-28T18:46:52.000Z
2018-01-17T13:34:51.000Z
src/dune_rules/dune_rules.ml
janestreet/jbuilder
863174b353146a5af143fd78530b1eafad987eda
[ "Apache-2.0" ]
59
2016-12-02T13:58:19.000Z
2018-01-06T18:23:02.000Z
module Main = Main module Context = Context module Super_context = Super_context module Findlib = Findlib module Colors = Colors module Profile = Profile module Workspace = Workspace module Dune_package = Dune_package module Dep_conf = Dep_conf module Dir_contents = Dir_contents module Expander = Expander module Lib = ...
27.178571
52
0.822602
bc4a14b094070dae58ab2d287be6a10b8baef15d
1,961
ml
OCaml
data/fa15/0811.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/fa15/0811.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/fa15/0811.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
let rec digitsOfInt n = let rec loop x listX = if x = 0 then listX else loop (x / 10) ((x mod 10) :: listX) in match n with | 0 -> [0] | x' -> loop x' [];; let rec sumList xs = match xs with | [] -> 0 | h::t -> h + (sumList t);; let rec additivePersistence n = let rec loop x y = if x < 10 then y else (sumL...
17.508929
80
0.498725
bc340a611152d59d584cf17f78be91f90468dfa4
1,150
mli
OCaml
GillianCore/engine/SymbolicSemantics/SStore.mli
z5146542/Gillian
b4646d35932a9066cdbe9246536f38ddbe85c350
[ "BSD-3-Clause" ]
null
null
null
GillianCore/engine/SymbolicSemantics/SStore.mli
z5146542/Gillian
b4646d35932a9066cdbe9246536f38ddbe85c350
[ "BSD-3-Clause" ]
null
null
null
GillianCore/engine/SymbolicSemantics/SStore.mli
z5146542/Gillian
b4646d35932a9066cdbe9246536f38ddbe85c350
[ "BSD-3-Clause" ]
null
null
null
(********************************* * Interface for Symbolic stores * **********************************) type vt = SVal.M.t type t [@@deriving yojson] val copy : t -> t val domain : t -> Containers.SS.t val get : t -> Var.t -> Expr.t option val get_unsafe : t -> Var.t -> Expr.t val init : (Var.t * Expr.t) list -> t ...
34.848485
74
0.565217
bc342a23578e49886172a84cdd0916cd097cd29a
59
ml
OCaml
examples/id.ml
chrisnevers/amulet
17114c7b429450ff1c0f9257e11d5f442d0d426c
[ "BSD-3-Clause" ]
1
2022-03-31T00:41:20.000Z
2022-03-31T00:41:20.000Z
examples/id.ml
aiverson/amulet
b725df9b1b634b791a47a0bc8056e24f122b57ac
[ "BSD-3-Clause" ]
null
null
null
examples/id.ml
aiverson/amulet
b725df9b1b634b791a47a0bc8056e24f122b57ac
[ "BSD-3-Clause" ]
null
null
null
open import "prelude.ml" let () = print (((id id) 2) + 2)
14.75
32
0.559322
bc97dcbe18946e5c525188357d49a0916f97a7a9
70,941
ml
OCaml
source/interprocedural_analyses/taint/backwardAnalysis.ml
duruyi/pyre-check
24c40031e37b80de4d40d4bc1eb0ebdd01655388
[ "MIT" ]
null
null
null
source/interprocedural_analyses/taint/backwardAnalysis.ml
duruyi/pyre-check
24c40031e37b80de4d40d4bc1eb0ebdd01655388
[ "MIT" ]
null
null
null
source/interprocedural_analyses/taint/backwardAnalysis.ml
duruyi/pyre-check
24c40031e37b80de4d40d4bc1eb0ebdd01655388
[ "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. *) open Core open Analysis open Ast open Expression open Pyre open Domains module CallGraph = Interprocedural.CallGraph module type...
36.756995
101
0.615652
bc4f9ef81fc6230caa619486c05d25e3f34417de
238
mli
OCaml
libraries/ec2/lib/createTrafficMirrorSession.mli
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
134
2016-01-11T19:35:49.000Z
2022-02-19T15:57:41.000Z
libraries/ec2/lib/createTrafficMirrorSession.mli
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
66
2016-01-12T00:32:47.000Z
2022-03-31T03:34:49.000Z
libraries/ec2/lib/createTrafficMirrorSession.mli
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
33
2016-01-11T23:13:26.000Z
2022-03-28T23:49:11.000Z
open Types type input = CreateTrafficMirrorSessionRequest.t type output = CreateTrafficMirrorSessionResult.t type error = Errors_internal.t include Aws.Call with type input := input and type output := output and type error := error
21.636364
85
0.789916
bcda8d27857674125c213c5647a328946677897b
136
ml
OCaml
camlp5/float/expected.ml
mjambon/mjambon2016
bd644e0a42cacba56d0260982614d1ef5c8305b3
[ "BSL-1.0", "BSD-3-Clause" ]
1
2020-11-02T04:11:52.000Z
2020-11-02T04:11:52.000Z
camlp5/float/expected.ml
mjambon/mjambon2016
bd644e0a42cacba56d0260982614d1ef5c8305b3
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
camlp5/float/expected.ml
mjambon/mjambon2016
bd644e0a42cacba56d0260982614d1ef5c8305b3
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
let f x = let pi = acos (-1.) in x /. (2. *. pi) -. x ** (2. /. 3.) let _ = let x = 2.5 in Printf.printf "%g -> %g\n" x (f x)
17
36
0.397059
bcb187577f646506d2d78c11c44dd6f14c614cd7
71,373
ml
OCaml
source/analysis/test/typeCheckTest.ml
PulkitMishra/pyre-check
44a9707d4a43ec98ea1833ce42e36998e41bca68
[ "MIT" ]
null
null
null
source/analysis/test/typeCheckTest.ml
PulkitMishra/pyre-check
44a9707d4a43ec98ea1833ce42e36998e41bca68
[ "MIT" ]
2
2021-08-21T07:50:23.000Z
2022-02-27T21:33:33.000Z
source/analysis/test/typeCheckTest.ml
PulkitMishra/pyre-check
44a9707d4a43ec98ea1833ce42e36998e41bca68
[ "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 Ast open Analysis open Pyre open TypeCheck open Test module DefaultContext = struct let qualifier = R...
33.119722
101
0.613691
bca62d6e680d03d94d6a0fa9fcd865f00b03448c
1,072
ml
OCaml
data/sp14/0458.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/sp14/0458.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/sp14/0458.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
let rec wwhile (f,b) = let (b',c') = f b in if c' = true then wwhile (f, b') else b';; let fixpoint (f,b) = wwhile (let ans = f b in ((ans, (ans <> b)), b));; (* fix let rec wwhile (f,b) = let (b',c') = f b in if c' = true then wwhile (f, b') else b';; let fixpoint (f,b) = wwhile (let g x = let xx = f x in ...
14.684932
71
0.458022
444a21631896f9bef62c2e2724486fb1f7be38a0
2,295
ml
OCaml
test.ml
sfritz/a-song-of-ones-and-zeros
e457d98fbecf03a1e6146377d7d46eb055417893
[ "MIT" ]
null
null
null
test.ml
sfritz/a-song-of-ones-and-zeros
e457d98fbecf03a1e6146377d7d46eb055417893
[ "MIT" ]
null
null
null
test.ml
sfritz/a-song-of-ones-and-zeros
e457d98fbecf03a1e6146377d7d46eb055417893
[ "MIT" ]
null
null
null
open Core.Std open OUnit include World (* helpers *) module Make_test_suite(W : World) = struct let state_to_string state = W.to_string (W.grid 5 state) let assert_same_state expected actual : unit = let message = (String.concat [ "Expected: "; state_to_string expected; "Ac...
20.675676
69
0.640087
bcb7a5273f362480c158f107cf436a9730ca55fe
1,102
ml
OCaml
result/cafe/diff/sub130/patch.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
result/cafe/diff/sub130/patch.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
result/cafe/diff/sub130/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 rec diff ((e : aexp), (x : string)) : aexp = match e with | Const n -> Const 0 | Var y -> if y = x then Const 1 else Const 0 | Power (x, 0) -> Const 0 | Power (y, n) -> if y = x th...
32.411765
77
0.497278
bcddc5a5621fdc580cea2fd9f8cac64d1f1d2a1a
6,817
ml
OCaml
src/lib_lwt_result_stdlib/functors/hashtbl.ml
Piotr170687/tezos
c7e84dfae2837096a4188e835fb780ad514ec2d3
[ "MIT" ]
null
null
null
src/lib_lwt_result_stdlib/functors/hashtbl.ml
Piotr170687/tezos
c7e84dfae2837096a4188e835fb780ad514ec2d3
[ "MIT" ]
null
null
null
src/lib_lwt_result_stdlib/functors/hashtbl.ml
Piotr170687/tezos
c7e84dfae2837096a4188e835fb780ad514ec2d3
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2020 Nomadic Labs <contact@nomadic-labs.com> *) ...
33.092233
79
0.517823
bc9bd90829a1086bd55b27444a22f4b2bc36c638
682
mli
OCaml
lib/bppsuite.mli
biocaml/phylogenetics
ebf87b3aef63babe9b41b9d44c303f61f7921205
[ "CECILL-B" ]
11
2017-12-05T16:13:46.000Z
2021-11-16T17:02:32.000Z
lib/bppsuite.mli
biocaml/phylogenetics
ebf87b3aef63babe9b41b9d44c303f61f7921205
[ "CECILL-B" ]
8
2020-01-05T18:49:57.000Z
2022-03-16T19:47:45.000Z
lib/bppsuite.mli
biocaml/phylogenetics
ebf87b3aef63babe9b41b9d44c303f61f7921205
[ "CECILL-B" ]
2
2021-03-29T13:21:25.000Z
2022-03-29T19:08:37.000Z
type alphabet = | DNA | RNA | Protein | Binary | Word of { letter : [`DNA | `RNA | `Protein] ; length : int } | Codon of { letter : [`DNA | `RNA] } val string_of_alphabet : alphabet -> string type model = | JC69 | K80 of { kappa : float option } val string_of_model : model -> string mo...
18.944444
49
0.612903
aa0756b489b6c5293b010d2a2f187a6510163c1f
586
mli
OCaml
src/shapes/repo.mli
ludovicdeluna/planet
753a68d96ec7933697e9c6d2b15ee2a494da4ecd
[ "MIT" ]
24
2019-04-13T21:09:47.000Z
2022-03-28T10:43:52.000Z
src/shapes/repo.mli
ludovicdeluna/planet
753a68d96ec7933697e9c6d2b15ee2a494da4ecd
[ "MIT" ]
5
2019-10-21T08:15:39.000Z
2020-03-12T08:41:58.000Z
src/shapes/repo.mli
ludovicdeluna/planet
753a68d96ec7933697e9c6d2b15ee2a494da4ecd
[ "MIT" ]
1
2020-03-12T08:24:13.000Z
2020-03-12T08:24:13.000Z
(** Handle heterogenous CVS Repo *) type t (** {2 Repo references} *) val github : string -> string -> t val gitlab : string -> string -> string -> t (** {2 Various data} *) val repr : t -> string val kind : t -> string (** {2 Links generators} *) val base_url : t -> string val https_reference : t -> string val ...
20.928571
58
0.663823
bcfced1d694e5bc9fb57f6860a06733b76a8b1d2
21
ml
OCaml
ocaml/omake/lib.ml
idkjs/til
eee606856ed11d57e96060f62adf0dd072f8bff1
[ "WTFPL" ]
2
2020-05-11T13:43:27.000Z
2020-07-31T11:57:19.000Z
ocaml/omake/lib.ml
idkjs/til
eee606856ed11d57e96060f62adf0dd072f8bff1
[ "WTFPL" ]
2
2020-09-27T02:35:38.000Z
2021-03-08T08:33:02.000Z
ocaml/omake/lib.ml
idkjs/til
eee606856ed11d57e96060f62adf0dd072f8bff1
[ "WTFPL" ]
1
2020-05-11T13:44:04.000Z
2020-05-11T13:44:04.000Z
let hello = "Hello"
7
19
0.619048
bcc1566ec35c5d3414c0241b2675d3a3a4da27d0
28,351
ml
OCaml
app/functoria_app.ml
emillon/functoria
80c19f8418c52cf91e811baf68c27415a6a8edaf
[ "ISC" ]
null
null
null
app/functoria_app.ml
emillon/functoria
80c19f8418c52cf91e811baf68c27415a6a8edaf
[ "ISC" ]
null
null
null
app/functoria_app.ml
emillon/functoria
80c19f8418c52cf91e811baf68c27415a6a8edaf
[ "ISC" ]
null
null
null
(* * Copyright (c) 2013 Thomas Gazagnaire <thomas@gazagnaire.org> * Copyright (c) 2013 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 notic...
33.275822
98
0.602518
bcb1591fa075ee3bbd5d1d5a405c71da07e61c0e
9,835
ml
OCaml
meja/src/type0_map.ml
tyler-smith/snarky
d929a483ad4eca9029231dc4355cb7ef553b973b
[ "MIT" ]
null
null
null
meja/src/type0_map.ml
tyler-smith/snarky
d929a483ad4eca9029231dc4355cb7ef553b973b
[ "MIT" ]
null
null
null
meja/src/type0_map.ml
tyler-smith/snarky
d929a483ad4eca9029231dc4355cb7ef553b973b
[ "MIT" ]
null
null
null
open Core_kernel open Type0 type mapper = { type_expr : mapper -> type_expr -> type_expr ; type_desc : mapper -> type_desc -> type_desc ; variant : mapper -> variant -> variant ; row : mapper -> row -> row ; field_decl : mapper -> field_decl -> field_decl ; ctor_args : mapper -> ctor_args -> ctor_args ; ...
38.120155
81
0.662938
bc7c9f0eea276df5bb1c1ead4ee5e7350c367174
4,197
ml
OCaml
data/sp14/1262.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/sp14/1262.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/sp14/1262.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
let rec clone x n = if n <= 0 then [] else x :: (clone x (n - 1));; let padZero l1 l2 = if (List.length l1) = (List.length l2) then (l1, l2) else if (List.length l1) < (List.length l2) then (((clone 0 ((List.length l2) - (List.length l1))) @ l1), l2) else (l1, ((clone 0 ((List.length l1) - (List.len...
18.905405
71
0.503455
bc7014b678c77b1c3679e3f6542a6a05cfee48d0
242
ml
OCaml
src/common/utils/tree.ml
mirek/flow
fa1268d9153ec372796d7bf0fb364e648f1eb51f
[ "MIT" ]
20,996
2015-01-01T13:51:47.000Z
2022-03-31T17:44:01.000Z
src/common/utils/tree.ml
mirek/flow
fa1268d9153ec372796d7bf0fb364e648f1eb51f
[ "MIT" ]
8,315
2015-01-01T19:56:43.000Z
2022-03-31T15:58:10.000Z
src/common/utils/tree.ml
mirek/flow
fa1268d9153ec372796d7bf0fb364e648f1eb51f
[ "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. *) type 'a t = Node of 'a * 'a t list [@@deriving show]
26.888889
66
0.681818
bc7f38565507982f35909887a5d4121c4c7be798
7,645
ml
OCaml
compiler/switch.ml
CRogers/obc
49064db244e0c9d2ec2a83420c8d0ee917b54196
[ "Unlicense" ]
6
2015-07-25T12:18:17.000Z
2019-08-02T11:24:33.000Z
compiler/switch.ml
CRogers/obc
49064db244e0c9d2ec2a83420c8d0ee917b54196
[ "Unlicense" ]
null
null
null
compiler/switch.ml
CRogers/obc
49064db244e0c9d2ec2a83420c8d0ee917b54196
[ "Unlicense" ]
1
2021-02-26T17:08:39.000Z
2021-02-26T17:08:39.000Z
(* * switch.ml * * This file is part of the Oxford Oberon-2 compiler * Copyright (c) 2006 J. M. Spivey * 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. Redistributions of source co...
35.55814
79
0.691694
bcf37b453de5adb92ffd7e2a6fd53c6a2da60f67
414
ml
OCaml
vendor/core/src/core_date_intf.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
8
2020-09-16T01:37:52.000Z
2021-12-17T03:01:18.000Z
vendor/core/src/core_date_intf.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
2
2020-11-02T15:17:31.000Z
2021-01-08T10:29:59.000Z
vendor/core/src/core_date_intf.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
5
2020-10-08T13:26:18.000Z
2021-12-17T03:02:23.000Z
open! Import module Date = Core_kernel.Date module type Core_date = sig type t = Date.t include module type of Date with type t := t (** This formats a date using the format patterns available in [strftime]. *) val format : t -> string -> string (** This parses a date using the format patterns available i...
24.352941
79
0.681159
afcf11e9f0ac258f641723d84b404401744dd144
9,637
ml
OCaml
infer/src/biabduction/RetainCycles.ml
HybridDeveloper/infer
d01ada643d70202d9afd5e5c2d6ece715335a426
[ "MIT" ]
null
null
null
infer/src/biabduction/RetainCycles.ml
HybridDeveloper/infer
d01ada643d70202d9afd5e5c2d6ece715335a426
[ "MIT" ]
null
null
null
infer/src/biabduction/RetainCycles.ml
HybridDeveloper/infer
d01ada643d70202d9afd5e5c2d6ece715335a426
[ "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! IStd module MF = MarkupFormatter let desc_retain_cycle tenv (cycle : RetainCyclesType.t) = let open RetainCyclesType in L...
38.242063
103
0.646052
44d14a8c4205e80adbf0eda46cf4c13cb9dc03de
1,954
ml
OCaml
libraries/route53/lib/getHealthCheckLastFailureReason.ml
pm-mck/ocaml-aws
7912f94e73941d07d350d7f06c625853298c962c
[ "BSD-3-Clause" ]
null
null
null
libraries/route53/lib/getHealthCheckLastFailureReason.ml
pm-mck/ocaml-aws
7912f94e73941d07d350d7f06c625853298c962c
[ "BSD-3-Clause" ]
null
null
null
libraries/route53/lib/getHealthCheckLastFailureReason.ml
pm-mck/ocaml-aws
7912f94e73941d07d350d7f06c625853298c962c
[ "BSD-3-Clause" ]
null
null
null
open Types_internal open Aws type input = GetHealthCheckLastFailureReasonRequest.t type output = GetHealthCheckLastFailureReasonResponse.t type error = Errors_internal.t let service = "route53" let to_http service region req = let uri = Uri.add_query_params (Uri.of_string (Aws.Util.of_option_exn (E...
32.032787
113
0.589048
bcbb6a5d0c1139637f0a443d4a971bfe94af9144
18,622
ml
OCaml
data/derived/comb/progs/unify/prog3127.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/prog3127.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog3127.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXX...
32.670175
208
0.659972
447a46fbbbfcbfdac793976193cf12e27e8de432
7,544
ml
OCaml
eval/sherrloc/easyocaml++/asmcomp/compilenv.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
eval/sherrloc/easyocaml++/asmcomp/compilenv.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
eval/sherrloc/easyocaml++/asmcomp/compilenv.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
(***********************************************************************) (* *) (* Objective Caml *) (* *) (* Xavier Ler...
33.528889
79
0.639979
44defcba1bd809563c7d4469d289b6e8b6617eec
1,923
ml
OCaml
duniverse/parsexp/src/of_sexp_error.ml
gpetiot/opam-monorepo
93584def27ee2c4073b437b9405f413c227c9c57
[ "0BSD" ]
2
2022-03-03T01:38:24.000Z
2022-03-03T01:54:36.000Z
duniverse/parsexp/src/of_sexp_error.ml
gpetiot/opam-monorepo
93584def27ee2c4073b437b9405f413c227c9c57
[ "0BSD" ]
1
2021-11-08T19:54:28.000Z
2021-11-08T19:54:28.000Z
duniverse/parsexp/src/of_sexp_error.ml
gpetiot/opam-monorepo
93584def27ee2c4073b437b9405f413c227c9c57
[ "0BSD" ]
1
2022-03-02T19:35:36.000Z
2022-03-02T19:35:36.000Z
open! Import type t = { user_exn : exn ; sub_sexp : Sexp.t ; location : Positions.range option } [@@deriving_inline sexp_of] let sexp_of_t = (function | { user_exn = v_user_exn; sub_sexp = v_sub_sexp; location = v_location } -> let bnds = [] in let bnds = let arg = sexp_of_option Pos...
25.302632
86
0.642226
bc03367c2309f5ff31fa17b93f3af1c67af179d0
5,755
ml
OCaml
src/lib/merkle_ledger_tests/test_stubs.ml
LukasGerm/coda
443d87f510f618263a927e1052e1d6a53b0f6264
[ "Apache-2.0" ]
1
2020-05-05T07:31:26.000Z
2020-05-05T07:31:26.000Z
src/lib/merkle_ledger_tests/test_stubs.ml
LukasGerm/coda
443d87f510f618263a927e1052e1d6a53b0f6264
[ "Apache-2.0" ]
null
null
null
src/lib/merkle_ledger_tests/test_stubs.ml
LukasGerm/coda
443d87f510f618263a927e1052e1d6a53b0f6264
[ "Apache-2.0" ]
null
null
null
open Core open Unsigned module Balance = Currency.Balance module Account = struct (* want bin_io, not available with Account.t *) type t = Coda_base.Account.Stable.V1.t [@@deriving bin_io, sexp, eq, compare, hash, yojson] type key = Coda_base.Account.Key.Stable.V1.t [@@deriving bin_io, sexp, eq, compare, ha...
26.892523
94
0.703215
bcd6e543344cf1719f7cac159fec58cf9bdc92c0
1,934
ml
OCaml
infer/src/checkers/immutableChecker.ml
ievans/infer
c483fe101a3bdb3e86c4444a7b8d6197eada67c0
[ "BSD-3-Clause" ]
null
null
null
infer/src/checkers/immutableChecker.ml
ievans/infer
c483fe101a3bdb3e86c4444a7b8d6197eada67c0
[ "BSD-3-Clause" ]
2
2020-11-13T19:42:27.000Z
2020-11-13T19:49:19.000Z
infer/src/checkers/immutableChecker.ml
ievans/infer
c483fe101a3bdb3e86c4444a7b8d6197eada67c0
[ "BSD-3-Clause" ]
null
null
null
(* * Copyright (c) 2013 - present Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. *) open! IStd...
37.192308
138
0.664426
bcbc8c4bca13e301e65edd7e5adf1908017118af
142
ml
OCaml
data/derived/comb/progs/unify/prog3279.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/prog3279.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog3279.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let pipe fs = let f a x _ c = x c in let base b = b in List.fold_left f base fs;; let _ = pipe [(fun x -> x + 3); (fun x -> x + x)] 3;;
23.666667
69
0.514085
bcf152cbbe37250efd27ae42bafc688dd755080b
79,644
ml
OCaml
src/ocaml-output/FStar_Extraction_ML_Util.ml
SECtim/FStar
f02a81bf67b1150949a103b441ec471bc192e8ae
[ "Apache-2.0" ]
null
null
null
src/ocaml-output/FStar_Extraction_ML_Util.ml
SECtim/FStar
f02a81bf67b1150949a103b441ec471bc192e8ae
[ "Apache-2.0" ]
null
null
null
src/ocaml-output/FStar_Extraction_ML_Util.ml
SECtim/FStar
f02a81bf67b1150949a103b441ec471bc192e8ae
[ "Apache-2.0" ]
null
null
null
open Prims let (codegen_fsharp : unit -> Prims.bool) = fun uu____5 -> let uu____6 = FStar_Options.codegen () in uu____6 = (FStar_Pervasives_Native.Some FStar_Options.FSharp) let pruneNones : 'a . 'a FStar_Pervasives_Native.option Prims.list -> 'a Prims.list = fun l -> FStar_List.fold_right ...
46.304651
148
0.461479
bc4566bcc7107be93d2ef439384be0ba4d82109f
2,419
ml
OCaml
02-exercises/11-sum_product/problem.ml
dra27/learn-ocaml-workshop
650626f27dacb6ff15c0832a78eca42ac5b17cb1
[ "Apache-2.0" ]
null
null
null
02-exercises/11-sum_product/problem.ml
dra27/learn-ocaml-workshop
650626f27dacb6ff15c0832a78eca42ac5b17cb1
[ "Apache-2.0" ]
null
null
null
02-exercises/11-sum_product/problem.ml
dra27/learn-ocaml-workshop
650626f27dacb6ff15c0832a78eca42ac5b17cb1
[ "Apache-2.0" ]
null
null
null
open! Base let plus x y = x + y let times x y = x * y (* Sometimes, multiple functions look similar: *) let rec add_every_number_up_to x = match x with | 0 -> 0 | _ -> plus x (add_every_number_up_to (x - 1)) ;; let rec factorial x = match x with | 0 -> 1 | _ -> times x (factorial (x - 1)) ;; (* These fu...
28.797619
88
0.635387
8a5e679b3059df25125ed6eb6ae1ff0f16c0e833
4,091
ml
OCaml
PSO_avion_statique/initialisation_avion.ml
Aisthetic/PSO-PathPlanning
1e66b2d57ad60dd67a3545a068637d4f981a5d89
[ "MIT" ]
null
null
null
PSO_avion_statique/initialisation_avion.ml
Aisthetic/PSO-PathPlanning
1e66b2d57ad60dd67a3545a068637d4f981a5d89
[ "MIT" ]
null
null
null
PSO_avion_statique/initialisation_avion.ml
Aisthetic/PSO-PathPlanning
1e66b2d57ad60dd67a3545a068637d4f981a5d89
[ "MIT" ]
null
null
null
(* This module contains the functions needed to generate a swarm and to display it *) open Geometrie type point = Geometrie.point;; type particule = {position : float array; vitesse : float array; meilleur : float array};; (* génération de la nouvelle seed aléatoire *) Random.self_init ();; (*pour aller plu...
31.469231
117
0.657541
bc677b38de0505a8b0ad47e97f5e1279e841d26d
1,795
ml
OCaml
libraries/elasticache/lib/describeSnapshots.ml
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
134
2016-01-11T19:35:49.000Z
2022-02-19T15:57:41.000Z
libraries/elasticache/lib/describeSnapshots.ml
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
66
2016-01-12T00:32:47.000Z
2022-03-31T03:34:49.000Z
libraries/elasticache/lib/describeSnapshots.ml
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
33
2016-01-11T23:13:26.000Z
2022-03-28T23:49:11.000Z
open Types open Aws type input = DescribeSnapshotsMessage.t type output = DescribeSnapshotsListMessage.t type error = Errors_internal.t let service = "elasticache" let signature_version = Request.V4 let to_http service region req = let uri = Uri.add_query_params (Uri.of_string (Aws.Util.of_option_exn ...
27.19697
91
0.625627
44ef12126b7a820cd8ac1bd4a2780498196ef4d8
8,213
mly
OCaml
parsing/menhir_parser.mly
XVilka/Dedukti
78dba58fcb3d50fe7ea5c7e6a9c7147cd181f10d
[ "CECILL-B" ]
null
null
null
parsing/menhir_parser.mly
XVilka/Dedukti
78dba58fcb3d50fe7ea5c7e6a9c7147cd181f10d
[ "CECILL-B" ]
null
null
null
parsing/menhir_parser.mly
XVilka/Dedukti
78dba58fcb3d50fe7ea5c7e6a9c7147cd181f10d
[ "CECILL-B" ]
null
null
null
%{ open Kernel open Basic open Preterm open Scoping open Reduction open Signature open Entry let rec mk_lam : preterm -> (loc * ident * preterm) list -> preterm = fun te ps -> match ps with | [] -> te | (l,x,ty)::ps -> PreLam(l, x, Some ty, mk_lam te ps) let rec mk_pi : preterm -> (loc * ident * pret...
36.665179
106
0.604651
bcfaaefb87da1d136399c313bef0aac9c2bd7083
963
ml
OCaml
src/parser_utils/__tests__/test_utils.ml
eyx092/flow
6e02e520acf9c39c446ca3611b1f64555c968559
[ "MIT" ]
null
null
null
src/parser_utils/__tests__/test_utils.ml
eyx092/flow
6e02e520acf9c39c446ca3611b1f64555c968559
[ "MIT" ]
null
null
null
src/parser_utils/__tests__/test_utils.ml
eyx092/flow
6e02e520acf9c39c446ca3611b1f64555c968559
[ "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. *) let parse contents = let parse_options = Some { Parser_env.default_parse_options with Parser_env.enums ...
28.323529
81
0.671859
bcef6f672d8d8d2ddf95ce92cae2f77b6a201322
7,936
ml
OCaml
hack/utils/cli_args.ml
bnelo12/flow
65f2158e01d5b50df0be0b4fe1f2363fd3b8e7a0
[ "MIT" ]
1
2019-07-21T09:08:35.000Z
2019-07-21T09:08:35.000Z
hack/utils/cli_args.ml
bnelo12/flow
65f2158e01d5b50df0be0b4fe1f2363fd3b8e7a0
[ "MIT" ]
null
null
null
hack/utils/cli_args.ml
bnelo12/flow
65f2158e01d5b50df0be0b4fe1f2363fd3b8e7a0
[ "MIT" ]
1
2019-07-30T11:52:42.000Z
2019-07-30T11:52:42.000Z
(** * Copyright (c) Facebook, Inc. and its affiliates. * * 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 Cli_args_sig.Types let files_to_check_range_to_json (range: files_to_check_range): Hh_json.json = ...
34.655022
100
0.705771
bcac9f00ee0db066ed5159b663ac71eece2eca8a
566
ml
OCaml
exercises/08_05-arbres_generaux/solution.ml
acamanes/ocaml-public
244d8874b472bb61aef598e06723903eb58bfec0
[ "CC0-1.0" ]
null
null
null
exercises/08_05-arbres_generaux/solution.ml
acamanes/ocaml-public
244d8874b472bb61aef598e06723903eb58bfec0
[ "CC0-1.0" ]
null
null
null
exercises/08_05-arbres_generaux/solution.ml
acamanes/ocaml-public
244d8874b472bb61aef598e06723903eb58bfec0
[ "CC0-1.0" ]
null
null
null
let rec nb_feuilles_foret foret = match foret with | [] -> 0 | Noeud(_, [])::q -> 1 + nb_feuilles_foret q | Noeud(_,l)::q -> nb_feuilles_foret l + nb_feuilles_foret q;; let nb_feuilles arbre = nb_feuilles_foret [arbre];; let hauteur arbre = let rec aux foret = match foret with | [] -> 0 | Noeu...
23.583333
64
0.581272
bcb01291dd9d870d96dec6e58ccc6740d13ecc60
25,349
ml
OCaml
src/server/learnocaml_server.ml
MartyO256/learn-ocaml
0b7f09fb4f60894a28f8bcb6c38ee4d09a5e3f0c
[ "MIT" ]
8
2020-09-22T22:44:10.000Z
2021-05-23T08:14:37.000Z
src/server/learnocaml_server.ml
MartyO256/learn-ocaml
0b7f09fb4f60894a28f8bcb6c38ee4d09a5e3f0c
[ "MIT" ]
2
2020-08-17T19:10:23.000Z
2021-12-15T07:34:09.000Z
src/server/learnocaml_server.ml
MartyO256/learn-ocaml
0b7f09fb4f60894a28f8bcb6c38ee4d09a5e3f0c
[ "MIT" ]
7
2019-05-28T14:56:19.000Z
2021-05-19T22:01:25.000Z
(* 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 Learnocaml_data open Learnocaml_store let port = ref 8080 let cert_k...
35.956028
89
0.542704
44fd12bffe70dd5b870e321c0f7f9079fba9443b
8,372
ml
OCaml
src/app/test_executive/test_executive.ml
mobileink/mina
26ddf39370249a93011b1f1936066c5ed828716a
[ "Apache-2.0" ]
null
null
null
src/app/test_executive/test_executive.ml
mobileink/mina
26ddf39370249a93011b1f1936066c5ed828716a
[ "Apache-2.0" ]
null
null
null
src/app/test_executive/test_executive.ml
mobileink/mina
26ddf39370249a93011b1f1936066c5ed828716a
[ "Apache-2.0" ]
null
null
null
open Core open Async open Cmdliner open Integration_test_lib type test = string * (module Test_functor_intf) type engine = string * (module Engine_intf) type engine_with_cli_inputs = | Engine_with_cli_inputs : (module Engine_intf with type Cli_inputs.t = 'cli_inputs) * 'cli_inputs -> engine_with_cli_in...
35.93133
119
0.661849
bc610aae4142f826f664e9baa5a0cc14912b24e8
1,911
ml
OCaml
libraries/elasticache/lib/describeUserGroups.ml
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
libraries/elasticache/lib/describeUserGroups.ml
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
1
2021-06-22T14:33:23.000Z
2021-06-22T14:33:23.000Z
libraries/elasticache/lib/describeUserGroups.ml
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
open Types open Aws type input = DescribeUserGroupsMessage.t type output = DescribeUserGroupsResult.t type error = Errors_internal.t let service = "elasticache" let signature_version = Request.V4 let to_http service region req = let uri = Uri.add_query_params (Uri.of_string (Aws.Util.of_option_exn ...
31.327869
98
0.581894
44734797fe22f280586c4451300110760ca21327
1,091
ml
OCaml
src/multifunc.ml
talyian/coral-ocaml
0929ce2afa2966c5cabbf100f9188687abde7d8e
[ "MIT" ]
2
2019-01-15T21:43:30.000Z
2020-11-25T00:26:31.000Z
src/multifunc.ml
talyian/coral-ocaml
0929ce2afa2966c5cabbf100f9188687abde7d8e
[ "MIT" ]
null
null
null
src/multifunc.ml
talyian/coral-ocaml
0929ce2afa2966c5cabbf100f9188687abde7d8e
[ "MIT" ]
null
null
null
open Ast module StringMap = Map.Make(String) module NodeSet = Set.Make( struct let compare = compare type t = node end) let rec multifunc deleted scope = function | Func func as f -> ( match StringMap.find_opt func.name !scope with | None -> let mf = Multifunc {name=func.name; func=ref...
30.305556
74
0.594867
bc446b0e27f1fa07e9bf9e50c416fc675d2b3f07
7,509
ml
OCaml
lib/bap_dwarf/dwarf_fbi.ml
dra27/bap
bc9679900822afac9c7f7f1dc098958bab217b0e
[ "MIT" ]
1,697
2015-01-09T07:17:41.000Z
2022-03-26T17:48:05.000Z
lib/bap_dwarf/dwarf_fbi.ml
dvntaudio/bap
5cfc3e584ea32d6c0c33013e050fb1a1e8f260de
[ "MIT" ]
685
2015-01-10T21:32:42.000Z
2022-03-23T23:44:53.000Z
lib/bap_dwarf/dwarf_fbi.ml
dvntaudio/bap
5cfc3e584ea32d6c0c33013e050fb1a1e8f260de
[ "MIT" ]
294
2015-01-10T15:51:57.000Z
2022-03-20T05:37:22.000Z
open Core_kernel open Or_error open Bap.Std open Dwarf_types module Buffer = Dwarf_data.Buffer module Table = Int.Table module Input = Dwarf_input (** Attribute values that we currently understand *) module Value = struct type hi_addr = | Abs of addr | Rel of int64 [@@deriving sexp, bin_io, compare] ...
32.506494
73
0.610201
bc9b3ec63ad05b41f85e4161a2e9327bd98d0d7f
1,141
mli
OCaml
compiler/qmlpasses/pass_CompileRecursiveValues.mli
Machiaweliczny/oppailang
60ddea53e56babcc1e8954b5585150098b0e4d88
[ "MIT" ]
643
2015-01-02T23:57:37.000Z
2022-03-18T18:50:24.000Z
compiler/qmlpasses/pass_CompileRecursiveValues.mli
Machiaweliczny/oppailang
60ddea53e56babcc1e8954b5585150098b0e4d88
[ "MIT" ]
52
2015-01-17T07:26:16.000Z
2021-03-08T14:16:08.000Z
compiler/qmlpasses/pass_CompileRecursiveValues.mli
Machiaweliczny/oppailang
60ddea53e56babcc1e8954b5585150098b0e4d88
[ "MIT" ]
58
2015-01-02T23:57:42.000Z
2022-03-02T12:44:42.000Z
(* Copyright © 2011 MLstate This file is part of Opa. Opa is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License, version 3, as published by the Free Software Foundation. Opa is distributed in the hope that it will be useful, but WI...
29.25641
79
0.731814
44e81e7da2015f1a7b9bee39c80189da67801d29
191,192
ml
OCaml
hphp/hack/src/errors/errors.ml
vulongphan/hhvm
4df5e26141499cd456bb0bae77ce5915ef575a7a
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/errors/errors.ml
vulongphan/hhvm
4df5e26141499cd456bb0bae77ce5915ef575a7a
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/errors/errors.ml
vulongphan/hhvm
4df5e26141499cd456bb0bae77ce5915ef575a7a
[ "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 Hh_prelude open Reordered_argument_collections open String_utils type error_code = int [@@deriving eq, ord, sh...
31.342951
284
0.67892
bca1a2bb9eb4828265818e3840f69e954bfaffbe
89,760
ml
OCaml
trained/NYSE-MS-day-2015-04-22-basic.ml
ReyderOlarte/Fintech_AutoStock
59dba40d1cbc056739af33145b4b24682374e23a
[ "MIT" ]
null
null
null
trained/NYSE-MS-day-2015-04-22-basic.ml
ReyderOlarte/Fintech_AutoStock
59dba40d1cbc056739af33145b4b24682374e23a
[ "MIT" ]
null
null
null
trained/NYSE-MS-day-2015-04-22-basic.ml
ReyderOlarte/Fintech_AutoStock
59dba40d1cbc056739af33145b4b24682374e23a
[ "MIT" ]
2
2020-05-03T11:14:09.000Z
2021-11-18T10:26:30.000Z
[BASIC] [BASIC:PARAMS] [BASIC:NETWORK] beginTraining=0 connectionLimit=0 contextTargetOffset=0,0,0 contextTargetSize=0,0,0 endTraining=2 hasContext=f inputCount=180 layerCounts=4,37,181 layerFeedCounts=4,36,180 layerContextCount=0,0,0 layerIndex=0,4,41 output=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,...
2,992
27,300
0.815731
4482bb0ba75ce26c55bb53d883be5667eb0c70a3
3,304
ml
OCaml
snarky_signature/signature.ml
mobileink/snarky
af96fa4d4b3c2c86ea2b9b1c9c2e9858c610e683
[ "MIT" ]
418
2018-03-02T05:08:51.000Z
2022-03-31T07:29:14.000Z
snarky_signature/signature.ml
mobileink/snarky
af96fa4d4b3c2c86ea2b9b1c9c2e9858c610e683
[ "MIT" ]
174
2018-03-02T21:54:45.000Z
2022-03-10T16:42:24.000Z
snarky_signature/signature.ml
mobileink/snarky
af96fa4d4b3c2c86ea2b9b1c9c2e9858c610e683
[ "MIT" ]
74
2018-03-02T01:43:50.000Z
2022-03-26T13:06:24.000Z
module type Inputs_intf = sig module Bool : sig type t val ( && ) : t -> t -> t end module Field : sig type t val equal : t -> t -> Bool.t val size_in_bits : int val is_even : t -> Bool.t end module Scalar : sig type t val of_field : Field.t -> t val to_field : t ->...
20.911392
95
0.610472
bcc89e72754e51bac89c96351ae83491ebd360e0
2,791
mli
OCaml
presentations/coq-workshop-2014-coq/lib/predicate.mli
JasonGross/test-broken-tar
6b52b8532879df53386b0f5413485888a1aa886a
[ "MIT" ]
null
null
null
presentations/coq-workshop-2014-coq/lib/predicate.mli
JasonGross/test-broken-tar
6b52b8532879df53386b0f5413485888a1aa886a
[ "MIT" ]
null
null
null
presentations/coq-workshop-2014-coq/lib/predicate.mli
JasonGross/test-broken-tar
6b52b8532879df53386b0f5413485888a1aa886a
[ "MIT" ]
null
null
null
(** Module [Pred]: sets over infinite ordered types with complement. *) (** This module implements the set data structure, given a total ordering function over the set elements. All operations over sets are purely applicative (no side-effects). The implementation uses the Set library. *) module type Ordered...
41.044118
77
0.582229
bcb0b8230fd064aea446cfd45004d37cb2c902d1
22,834
ml
OCaml
tests_pa_ocaml/basic/boxedints.ml
rlepigre/ocaml-earley-ocaml
60cf1e63f30b670d0bc4bc22cdff36b453c502e3
[ "CECILL-B" ]
2
2018-02-12T20:06:48.000Z
2018-04-09T14:08:38.000Z
tests_pa_ocaml/basic/boxedints.ml
rlepigre/ocaml-earley-ocaml
60cf1e63f30b670d0bc4bc22cdff36b453c502e3
[ "CECILL-B" ]
12
2017-08-30T10:44:32.000Z
2019-08-02T11:33:33.000Z
tests_pa_ocaml/basic/boxedints.ml
rlepigre/ocaml-earley-ocaml
60cf1e63f30b670d0bc4bc22cdff36b453c502e3
[ "CECILL-B" ]
1
2020-04-25T05:58:29.000Z
2020-04-25T05:58:29.000Z
(***********************************************************************) (* *) (* OCaml *) (* *) (* Xavier Ler...
38.441077
78
0.562801
bc6b90bb608b30391a37c7e4f6d752c0bd0c5506
623
ml
OCaml
data/fa15/1213.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/fa15/1213.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/fa15/1213.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
let pipe fs = let f a x = a + x in let base = [] in List.fold_left f base fs;; (* fix let pipe fs = let f a x = a in let base x = x in List.fold_left f base fs;; *) (* changed spans (2,26)-(2,31) (2,30)-(2,31) (2,46)-(2,48) (2,52)-(2,76) *) (* type error slice (2,14)-(2,76) (2,20)-(2,31) (2,26)-(2,27) (2,26)-(2,...
13.255319
78
0.483146
bcc58583439dca2906a3a4a2658a286f466ea646
205
ml
OCaml
benchmarks/filter/filter/submissions/sub5.ml
kupl/TestML
55a6200222303bc06349f3379894f5174d47df5d
[ "MIT" ]
5
2019-08-26T05:41:41.000Z
2020-05-03T03:58:50.000Z
benchmarks/filter/filter/submissions/sub5.ml
kupl/TestML
55a6200222303bc06349f3379894f5174d47df5d
[ "MIT" ]
null
null
null
benchmarks/filter/filter/submissions/sub5.ml
kupl/TestML
55a6200222303bc06349f3379894f5174d47df5d
[ "MIT" ]
2
2020-02-06T00:36:38.000Z
2020-07-27T09:53:35.000Z
(*********************) (* Problem 1: filter *) (*********************) let rec filter pred lst = match lst with | [] -> [] | hd::tl -> if (pred hd) then hd::(filter pred tl) else (filter pred tl)
25.625
74
0.443902
bc596e7c7af1c0783dad05c842c17436b335555c
1,741
mli
OCaml
CodeHawk/CHB/bchlibarm32/bCHARMAssemblyFunction.mli
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
17
2020-08-17T15:35:57.000Z
2022-03-23T14:40:19.000Z
CodeHawk/CHB/bchlibarm32/bCHARMAssemblyFunction.mli
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
6
2020-07-17T05:43:51.000Z
2021-01-06T03:41:46.000Z
CodeHawk/CHB/bchlibarm32/bCHARMAssemblyFunction.mli
sipma/codehawk
e4eeb41fdea6a8467d1892b9467ec54ef04953b0
[ "MIT" ]
3
2020-08-13T23:18:39.000Z
2021-12-11T11:10:06.000Z
(* ============================================================================= CodeHawk Binary Analyzer Author: Henny Sipma ------------------------------------------------------------------------------ The MIT License (MIT) Copyright (c) 2021 Aarno Labs, LLC Permission is hereby granted, free o...
44.641026
83
0.648478
aa0c2ff13d05c5ff2c62b42fce8235088cfd237e
45,332
ml
OCaml
ast/statement.ml
stvreumi/pyre-check
94d13c8df37b53843ae92544b81042347b64315d
[ "MIT" ]
null
null
null
ast/statement.ml
stvreumi/pyre-check
94d13c8df37b53843ae92544b81042347b64315d
[ "MIT" ]
null
null
null
ast/statement.ml
stvreumi/pyre-check
94d13c8df37b53843ae92544b81042347b64315d
[ "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 module Access = Expression.Access module Argument = Expression.Argument module Record = struct module Define = str...
29.804076
100
0.542067
bc77ae3c34887b92dc90c5db24d4049a08783231
4,147
ml
OCaml
tests/icnf-solve/icnf_solve.ml
hd442822/mSAT
e8eb66cdafae1e8219e3e956a2e5355705ba129a
[ "Apache-2.0" ]
null
null
null
tests/icnf-solve/icnf_solve.ml
hd442822/mSAT
e8eb66cdafae1e8219e3e956a2e5355705ba129a
[ "Apache-2.0" ]
null
null
null
tests/icnf-solve/icnf_solve.ml
hd442822/mSAT
e8eb66cdafae1e8219e3e956a2e5355705ba129a
[ "Apache-2.0" ]
null
null
null
module Vec = Msat.Vec module Parse : sig type 'a event = | Add_clause of 'a array | Solve of 'a array type 'a t val make : file:string -> (int -> 'a) -> 'a t val next : 'a t -> 'a event (** @raise End_of_file when done *) end = struct module L = Lexer type 'a event = | Add_clause of 'a arr...
27.463576
86
0.569568
aa0d6127c047d671c3389877f66248be58387839
1,893
ml
OCaml
dist/gcc-compatible/lib/Hacl_HPKE_P256_CP256_SHA256_bindings.ml
sthagen/project-everest-hacl-star
e3d49b426ee14b10d2f4ba2dcf77891149f23169
[ "Apache-2.0" ]
201
2016-07-09T18:09:42.000Z
2018-06-21T05:31:11.000Z
dist/gcc-compatible/lib/Hacl_HPKE_P256_CP256_SHA256_bindings.ml
sthagen/project-everest-hacl-star
e3d49b426ee14b10d2f4ba2dcf77891149f23169
[ "Apache-2.0" ]
98
2016-11-06T16:31:06.000Z
2018-06-13T16:39:49.000Z
dist/gcc-compatible/lib/Hacl_HPKE_P256_CP256_SHA256_bindings.ml
sthagen/project-everest-hacl-star
e3d49b426ee14b10d2f4ba2dcf77891149f23169
[ "Apache-2.0" ]
19
2016-07-03T02:44:27.000Z
2018-05-03T09:03:01.000Z
open Ctypes module Bindings(F:Cstubs.FOREIGN) = struct open F module Hacl_HPKE_Interface_Hacl_Impl_HPKE_Hacl_Meta_HPKE_applied = (Hacl_HPKE_Interface_Hacl_Impl_HPKE_Hacl_Meta_HPKE_bindings.Bindings)(Hacl_HPKE_Interface_Hacl_Impl_HPKE_Hacl_Meta_HPKE_stubs) open Hacl_HPKE_Interface_Hacl_Impl_HPKE_Hacl...
43.022727
132
0.545695
bcefc48d8e84fc828583cc7f9838403b2ea1b988
5,057
ml
OCaml
jpndrill/PersonalDictionary.ml
haoxuany/jpndrill
4445d807dfc3cb1b34110fa84dfd4abf2a15c7d1
[ "Apache-2.0" ]
2
2021-10-04T06:14:34.000Z
2021-11-09T04:20:03.000Z
jpndrill/PersonalDictionary.ml
haoxuany/jpndrill
4445d807dfc3cb1b34110fa84dfd4abf2a15c7d1
[ "Apache-2.0" ]
null
null
null
jpndrill/PersonalDictionary.ml
haoxuany/jpndrill
4445d807dfc3cb1b34110fa84dfd4abf2a15c7d1
[ "Apache-2.0" ]
null
null
null
open Batteries;; module Map = BatMap.Int type context_internal = { images : string Lwt.t list (* contains data *) } type entry_internal = { creation : int ; name : string ; pronounciation : string option ; render : string option ; context : context_internal } type handle = int type data = { entry...
26.898936
109
0.565157