adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.09 release notes: https://caml.inria.fr/pub/distrib/ocaml-4.09/notes/Changes | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
muskan has left #ocaml [#ocaml]
wreed has joined #ocaml
raver has quit [Remote host closed the connection]
mfp has quit [Ping timeout: 256 seconds]
wreed has quit [Quit: Goodbye]
wreed has joined #ocaml
amiloradovsky has quit [Remote host closed the connection]
amiloradovsky has joined #ocaml
wreed has quit [Quit: Goodbye]
amiloradovsky has quit [Ping timeout: 272 seconds]
mbuf has joined #ocaml
amiloradovsky has joined #ocaml
ygrek_ has quit [Ping timeout: 264 seconds]
dborisog has joined #ocaml
narimiran has joined #ocaml
amiloradovsky has quit [Ping timeout: 265 seconds]
noddy has quit [Ping timeout: 256 seconds]
chripell has joined #ocaml
narimiran has quit [Quit: leaving]
narimiran has joined #ocaml
<mbuf> This expression has type Yojson.Basic.t but an expression was expected of type int - https://pastebin.com/dMESgdqH, Why?
<octachron> Core or Base redefine `=` to only work on ints
<hannes> mbuf: I suspect it is because you "open Core" which defines equality "=" as "int -> int -> int" (i.e. overwrites the polymorphic comparison defined by OCaml)
TheLemonMan has joined #ocaml
runawayfive has quit [Ping timeout: 260 seconds]
amiloradovsky has joined #ocaml
runawayfive has joined #ocaml
<mbuf> octachron, hannes okay!
mfp has joined #ocaml
nullcone has quit [Quit: Connection closed for inactivity]
tane has joined #ocaml
<mbuf> I used, print_endline (if (Yojson.Basic.equal json1 json2) then "OK" else "FAIL")
raver has joined #ocaml
tane has quit [Quit: Leaving]
Anarchos has joined #ocaml
Anarchos has quit [Quit: Vision[0.10.3]: i've been blurred!]
Anarchos has joined #ocaml
Anarchos has quit [Remote host closed the connection]
Anarchos has joined #ocaml
Anarchos has quit [Remote host closed the connection]
EduardoRFS has quit [Ping timeout: 256 seconds]
Anarchos has joined #ocaml
<Anarchos> Where can i find the official documentation of ocamlobjinfo ?
<octachron> Unfortunately, there are no official documentation for ocamlobjinfo
<Anarchos> octachron i have a library lib.cma, when i load it into the toplevel with #load "lib.cma", i can't open any module from this lib.
<Anarchos> it is compiled with dune, which adds those stranges Lib__ prefix
<companion_cube> because it's wrapped by default
<companion_cube> your modes are in Lib.Foo
<Anarchos> i tried "open Lib.Mod " too
<octachron> Did you check that the cmis are in the path?
<Anarchos> octachron dune built no cmi.
<companion_cube> they're in _build
<Anarchos> companion_cube no there is no .cmi when i do «dune build src/lib.cma»
<octachron> No. Cmis are always built.
<companion_cube> sigh, have you tried to just install the library and use ocamlfind?
<companion_cube> dune build foo.cma is kind of a red flag
<octachron> there are in the .lib.objs/byte folder
<Anarchos> oh yes i didn't know
<Anarchos> so i must add this directory to the -I flag to ocaml ?
<companion_cube> ugh, no, use ocamlfind
<companion_cube> or opam, even
<Anarchos> companion_cube sure, but i just want to test the lib in the toplevel
<Anarchos> companion_cube no opam on HaikuOS cause my isntall is too exotic
<companion_cube> `dune utop`?
<companion_cube> ah well, good luck then 🤷
<Anarchos> companion_cube : Error: Library "utop" not found.
<companion_cube> ah and you don't have opam
<Anarchos> companion_cube yes i have opam
<Anarchos> but i should pinned too much package
<companion_cube> opam install utop
<companion_cube> (although the brand new dune has `dune top` I think)
<companion_cube> (which is a normal toplevel)
<Anarchos> thanks for your help
Anarchos has quit [Quit: Vision[0.10.3]: i've been blurred!]
jbrown has joined #ocaml
companion_cube has quit [Quit: WeeChat 2.3]
ocabot has quit [Remote host closed the connection]
ocabot has joined #ocaml
companion_cube has joined #ocaml
amiloradovsky has quit [Remote host closed the connection]
amiloradovsky has joined #ocaml
amiloradovsky has quit [Remote host closed the connection]
amiloradovsky has joined #ocaml
cheater has quit [Ping timeout: 256 seconds]
tane has joined #ocaml
spew has joined #ocaml
cheater has joined #ocaml
ygrek_ has joined #ocaml
noddy has joined #ocaml
nullcone has joined #ocaml
mbuf has quit [Ping timeout: 250 seconds]
noddy has quit [Ping timeout: 256 seconds]
schlaftier has joined #ocaml
Anarchos has joined #ocaml
Anarchos has quit [Client Quit]
jbrown has quit [Ping timeout: 265 seconds]
zmt00 has quit [Quit: Leaving]
jbrown has joined #ocaml
zmt00 has joined #ocaml
chripell has quit [Ping timeout: 260 seconds]
Serpent7776 has quit [Ping timeout: 260 seconds]
manta` has quit [Ping timeout: 246 seconds]
manta` has joined #ocaml
Anarchos has joined #ocaml
osa1 has joined #ocaml
<osa1> is let+/let* syntax standard? I saw this in a code but I can't see it in https://ocaml.org/releases/4.10/htmlman/expr.html
<companion_cube> it is since 4.08
<osa1> where can I learn about it?
dborisog has quit [Ping timeout: 250 seconds]
Anarchos has quit [Quit: Vision[0.10.3]: i've been blurred!]
noddy has joined #ocaml
jmct has quit [Ping timeout: 245 seconds]
monad_cat has quit [Ping timeout: 245 seconds]
jmct has joined #ocaml
monad_cat has joined #ocaml
nullcone has quit [Ping timeout: 265 seconds]
cbarrett has quit [Ping timeout: 265 seconds]
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
cbarrett has joined #ocaml
nullcone has joined #ocaml
Jesin has quit [Quit: Leaving]
Serpent7776 has joined #ocaml
Haudegen has joined #ocaml
Jesin has joined #ocaml
amiloradovsky has quit [Remote host closed the connection]
amiloradovsky has joined #ocaml
narimiran has quit [Ping timeout: 264 seconds]
osa1 has quit [Ping timeout: 256 seconds]
nicooo is now known as nicoo
raver has quit [Remote host closed the connection]
tane has quit [Quit: Leaving]
ygrek_ has quit [Ping timeout: 256 seconds]
amiloradovsky has quit [Ping timeout: 252 seconds]
spew has quit [Quit: Connection closed for inactivity]
manta` has quit [Ping timeout: 272 seconds]
manta` has joined #ocaml
Haudegen has quit [Ping timeout: 250 seconds]