The Wayback Machine - https://web.archive.org/web/20210929150737/https://github.com/topics/ocaml
Skip to content
#

OCaml

ocaml logo

OCaml is a general purpose industrial-strength programming language with an emphasis on expressiveness and safety, It is supporting functional, imperative and object-oriented styles.

Here are 1,922 public repositories matching this topic...

jeremiedimino
jeremiedimino commented May 7, 2020

Dune systematically buffers the output of commands so that their output is not mixed up during parallel builds. However, this is not ideal for interactive commands that require direct access to the terminal.

Currently, the only workaround is to run dune with -j 1 --no-buffer which is not ideal since it completely disables parallelism and also require a specific dune invocation.

Another ide

dbuenzli
dbuenzli commented Jun 21, 2020

Describe the bug
The following (wrong) simple source file triggers an assertion failure.

> mkdir /tmp/bug
> cd /tmp/bug
> cat - > prop.ml
type t
type prop
external set : t -> prop -> t -> unit = "caml_js_get"
let set_if_some o p = function None -> () | Some v -> set o p v
> ocamlc -c prop.ml 
> js_of_ocaml compile prop.cmo 
js_of_ocaml: You found a bug. Please report it at htt
aantron
aantron commented Jul 29, 2021
Dream.drop_cookie name request response =
  Dream.set_cookie name "" request response ~expires:0. ~encrypt:false

Dream.drop_cookie should have all the same optionals as Dream.set_cookie, and simply forward them, except that it shouldn't have ~expires, ~max_age, or ~encrypt at all. It can be added right after `set_sooki

Created by Xavier Leroy

Released 1996

Latest release 5 days ago

Repository
ocaml/ocaml
Website
ocaml.org
Wikipedia
Wikipedia