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
p4bl01 has joined #ocaml
p4bl0 has quit [Ping timeout: 272 seconds]
tmhoang4 has joined #ocaml
stux|RC-- has joined #ocaml
stux|RC has quit [Ping timeout: 256 seconds]
Ekho has quit [Ping timeout: 256 seconds]
Amaan has quit [Ping timeout: 256 seconds]
Amaan has joined #ocaml
Ekho has joined #ocaml
swapnilraj[m] has quit [*.net *.split]
aecepoglu[m] has quit [*.net *.split]
mgsk has quit [*.net *.split]
terrorjack has quit [*.net *.split]
chewbranca has quit [*.net *.split]
Duns_Scrotus has quit [*.net *.split]
Boarders has quit [*.net *.split]
ski has quit [*.net *.split]
stan[m] has quit [*.net *.split]
higherorder has quit [*.net *.split]
smondet[m] has quit [*.net *.split]
ksft has quit [*.net *.split]
cross has quit [*.net *.split]
tmhoang has quit [*.net *.split]
banjiewen has quit [*.net *.split]
jimt[m] has quit [*.net *.split]
tmhoang4 is now known as tmhoang
jaar has quit [Ping timeout: 272 seconds]
chewbranca has joined #ocaml
aecepoglu[m] has joined #ocaml
jimt[m] has joined #ocaml
swapnilraj[m] has joined #ocaml
Duns_Scrotus has joined #ocaml
mgsk has joined #ocaml
terrorjack has joined #ocaml
stan[m] has joined #ocaml
ksft has joined #ocaml
higherorder has joined #ocaml
Boarders has joined #ocaml
ski has joined #ocaml
smondet[m] has joined #ocaml
cross has joined #ocaml
banjiewen has joined #ocaml
webshinra has quit [Remote host closed the connection]
khady[m] has quit [Remote host closed the connection]
peddie has quit [Write error: Connection reset by peer]
Manis[m] has quit [Read error: Connection reset by peer]
defolos has quit [Read error: Connection reset by peer]
gaussian[m] has quit [Remote host closed the connection]
camlriot42 has quit [Remote host closed the connection]
flux1 has quit [Write error: Connection reset by peer]
aecepoglu[m] has quit [Remote host closed the connection]
swapnilraj[m] has quit [Remote host closed the connection]
stan[m] has quit [Read error: Connection reset by peer]
smondet[m] has quit [Read error: Connection reset by peer]
jimt[m] has quit [Write error: Connection reset by peer]
aspiwack[m] has quit [Remote host closed the connection]
lnxw37d4 has quit [Read error: Connection reset by peer]
labor[m] has quit [Remote host closed the connection]
dash has quit [Write error: Connection reset by peer]
terrorjack has quit [Ping timeout: 244 seconds]
ksft has quit [Ping timeout: 244 seconds]
cross has quit [Ping timeout: 244 seconds]
jimt[m] has joined #ocaml
cross has joined #ocaml
ksft has joined #ocaml
terrorjack has joined #ocaml
dash has joined #ocaml
flux1 has joined #ocaml
gaussian[m] has joined #ocaml
peddie has joined #ocaml
camlriot42 has joined #ocaml
khady[m] has joined #ocaml
aspiwack[m] has joined #ocaml
defolos has joined #ocaml
labor[m] has joined #ocaml
smondet[m] has joined #ocaml
lnxw37d4 has joined #ocaml
aecepoglu[m] has joined #ocaml
stan[m] has joined #ocaml
Manis[m] has joined #ocaml
swapnilraj[m] has joined #ocaml
mfp has quit [Ping timeout: 240 seconds]
stux|RC-- has quit [Quit: Aloha!]
stux|RC has joined #ocaml
tizoc has quit [Quit: Coyote finally caught me]
mbuf has joined #ocaml
tizoc has joined #ocaml
spew has quit [Quit: Connection closed for inactivity]
malc_ has quit [Ping timeout: 244 seconds]
malc_ has joined #ocaml
narimiran has joined #ocaml
safinaskar has joined #ocaml
<safinaskar> hi. i use linux. i want to install package "boomerang" from opam. it seems this package depends on old versions of ocaml, opam and jbuilder. so, how to do this?
FreeBirdLjj has joined #ocaml
<safinaskar> i created chroot environment with old debian distro "jessie". then installed old opam version to it (1.2). then typed "opam init". and i see: "File /root/.opam/repo/default/repo is written for OPAM 2.0, and this is 1.2"
<safinaskar> why "opam init" writes /root/.opam/repo/default/repo for opam 2.0? how to make it write it for opam 1.2?
NSA_Spy has quit [Ping timeout: 260 seconds]
Guest86335 has quit [Ping timeout: 240 seconds]
Guest86335 has joined #ocaml
Serpent7776 has joined #ocaml
osa1 has joined #ocaml
madroach_ has joined #ocaml
malc_ has quit [Ping timeout: 240 seconds]
madroach has quit [Ping timeout: 256 seconds]
safinaskar has left #ocaml [#ocaml]
osa1 has quit [Remote host closed the connection]
osa1 has joined #ocaml
<vsiles> what does opam --version says ?
<vsiles> (in your chroot)
vicfred has quit [Remote host closed the connection]
vicfred has joined #ocaml
malc_ has joined #ocaml
dckc has quit [Ping timeout: 264 seconds]
dckc has joined #ocaml
dborisog has joined #ocaml
jaar has joined #ocaml
madroach_ has quit [Ping timeout: 256 seconds]
madroach has joined #ocaml
mfp has joined #ocaml
dborisog has quit [Ping timeout: 240 seconds]
nullcone has quit [Quit: Connection closed for inactivity]
waleee-cl has joined #ocaml
vicfred has quit [Quit: Leaving]
drdee has joined #ocaml
malc_ has quit [Remote host closed the connection]
dborisog has joined #ocaml
drdee has quit [Quit: Leaving]
vicfred has joined #ocaml
narimiran has quit [Ping timeout: 264 seconds]
tane has joined #ocaml
webshinra has joined #ocaml
spew has joined #ocaml
malc_ has joined #ocaml
dborisog has quit [Ping timeout: 240 seconds]
dckc has quit [Ping timeout: 240 seconds]
dckc has joined #ocaml
dhil has joined #ocaml
mbuf has quit [Quit: Leaving]
osa1 has quit [Ping timeout: 265 seconds]
dhil has quit [Ping timeout: 240 seconds]
malc_ has quit [Remote host closed the connection]
octachron has joined #ocaml
octachron_ has quit [Quit: ZNC 1.7.5 - https://znc.in]
Amaan has quit [Ping timeout: 240 seconds]
Amaan_ has joined #ocaml
madroach_ has joined #ocaml
madroach has quit [Ping timeout: 256 seconds]
sagax has quit [Read error: Connection reset by peer]
dhil has joined #ocaml
sm2n has joined #ocaml
osa1 has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
dhil has quit [Ping timeout: 256 seconds]
delysin_ has quit [Read error: Connection reset by peer]
waleee-cl has quit [Quit: Connection closed for inactivity]
delysin has joined #ocaml
slash has quit [Quit: Konversation terminated!]
dckc has quit [Ping timeout: 264 seconds]
oriba has joined #ocaml
dckc has joined #ocaml
vicfred has quit [Quit: Leaving]
remexre has joined #ocaml
nullcone has joined #ocaml
Yagotzirck has joined #ocaml
dckc has quit [Ping timeout: 244 seconds]
dckc has joined #ocaml
<Yagotzirck> at line 6, this gives me:
<Yagotzirck> "Syntax error: operator expected"
<Yagotzirck> aside from the code itself being quite awful, what should I do in order to make it run/fix the issue?
<octachron> Yagotzirck, the error is due to the lack of body after the in the let ... = ... In at line 5
<octachron> But this is only the symptom: there is no condition, nor change variables in scope in the while loop.
<octachron> Similarly, `change` is only computed at its definition, not at line 10.
<octachron> You should probably read an OCaml tutorial
<Yagotzirck> hm, well replacing the in's with semicolons still yields the exact same error
<Yagotzirck> I'm following "ocaml from the very beginning" but it comes up short on syntax rules
muskan has joined #ocaml
<Yagotzirck> so it pretty much turns into a trial-and-error session
<Yagotzirck> what would you recommend as a tutorial for beginners?
narimiran has joined #ocaml
osa1 has quit [Remote host closed the connection]
madroach_ has quit [Ping timeout: 256 seconds]
madroach has joined #ocaml
vicfred has joined #ocaml
oriba has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
muskan has quit [Remote host closed the connection]
Yagotzirck has quit [Read error: Connection reset by peer]
Yagotzirck has joined #ocaml
<cranix> hello
<cranix> i'm looking for examples of Z3 ocaml API
<cranix> i know python api but i would like to try ocaml here
<cranix> i have found only source code of ocaml bindings on github...
<d_bot> <mnxn> there are ocaml examples here: https://github.com/Z3Prover/z3/tree/master/examples/ml
<cranix> this is what i'm reading right now
<cranix> i woul like something minimal
<cranix> like two bitvectors
<cranix> and assertion that one is bigger than another
<cranix> also i failed to find documentation for api
<cranix> ocaml api python api is well documented
<cranix> say what is ocaml equivalent to
<cranix> solver.add(x > y)
<cranix> where x and y are bitvectors
<d_bot> <mnxn> I have no idea how z3 works, but this is what I pieced together from the docs at https://github.com/Z3Prover/z3/blob/master/src/api/ml/z3.mli
<d_bot> <mnxn>
<d_bot> <mnxn> Solver.add solver [ Arithmetic.mk_sgt context x y ]
<cranix> thanks
dhil has joined #ocaml
<cranix> but then how to get expression from BitVector?
waleee-cl has joined #ocaml
vicfred has quit [Quit: Leaving]
<sim642> Use Expr.mk_const or Expr.mk_numeral_int with a sort from BitVector.mk_sort
<cranix> thanks
vicfred has joined #ocaml
<cranix> how i can compare bitvector to constan number(say 7)?
narimiran has quit [Ping timeout: 265 seconds]
Serpent7776 has quit [Quit: leaving]
mengu has joined #ocaml
Haudegen has joined #ocaml
NSA_Spy has joined #ocaml
mengu_ has joined #ocaml
mengu has quit [Remote host closed the connection]
tane has quit [Quit: Leaving]
Yagotzirck has quit [Quit: Leaving]
Undercover_Russi has joined #ocaml
NSA_Spy has quit [Ping timeout: 256 seconds]
_whitelogger has joined #ocaml
Haudegen has quit [Ping timeout: 240 seconds]
mengu_ has quit []
nullcone has quit [Quit: Connection closed for inactivity]
nullcone has joined #ocaml