al-damiri has quit [Quit: Connection closed for inactivity]
sh0t has joined #ocaml
shinnya has joined #ocaml
infinity0_ has joined #ocaml
infinity0_ has quit [Changing host]
infinity0 is now known as Guest1293
infinity0_ has joined #ocaml
infinity0_ is now known as infinity0
Guest1293 has quit [Ping timeout: 264 seconds]
isd has quit [Quit: Leaving.]
dtornabene has joined #ocaml
Gurkenglas has joined #ocaml
jonh has joined #ocaml
Gurkenglas has quit [Ping timeout: 256 seconds]
sh0t has quit [Ping timeout: 256 seconds]
sh0t has joined #ocaml
mfp has quit [Ping timeout: 240 seconds]
sh0t has quit [Remote host closed the connection]
shinnya has quit [Ping timeout: 255 seconds]
sh0t has joined #ocaml
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Read error: Connection reset by peer]
silver has quit [Read error: Connection reset by peer]
dedgrant has quit [Ping timeout: 256 seconds]
sh0t has quit [Remote host closed the connection]
moei has joined #ocaml
hdon has quit [Ping timeout: 255 seconds]
dtornabene has quit [Remote host closed the connection]
hdon has joined #ocaml
nicoo has quit [*.net *.split]
nicoo has joined #ocaml
tormen has joined #ocaml
tormen_ has quit [Ping timeout: 248 seconds]
zlsyx has quit [Quit: Leaving...]
hdon has quit [Ping timeout: 256 seconds]
isd has joined #ocaml
govg has joined #ocaml
jbrown has quit [Ping timeout: 268 seconds]
pierpa has quit [Quit: Page closed]
isd has quit [Remote host closed the connection]
isd has joined #ocaml
mbuf has joined #ocaml
malina has joined #ocaml
hdon has joined #ocaml
hdon has quit [Ping timeout: 248 seconds]
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #ocaml
isd has quit [Quit: Leaving.]
pierpal has quit [Read error: Connection reset by peer]
cbot has quit [Quit: Leaving]
Haudegen has joined #ocaml
Soni has quit [Ping timeout: 240 seconds]
Soni has joined #ocaml
muelleme has joined #ocaml
muelleme has quit [Ping timeout: 255 seconds]
AltGr has joined #ocaml
bairui has quit [Ping timeout: 248 seconds]
zolk3ri has joined #ocaml
bairui has joined #ocaml
zolk3ri has quit [Quit: Lost terminal]
malina has quit [Ping timeout: 248 seconds]
zolk3ri has joined #ocaml
argent_smith has joined #ocaml
hdon has joined #ocaml
hdon has quit [Ping timeout: 256 seconds]
zolk3ri has quit [Quit: Lost terminal]
zolk3ri has joined #ocaml
loxs has joined #ocaml
argent_smith has quit [Quit: Leaving.]
dakk has joined #ocaml
loxs has quit [Quit: Leaving]
cross has quit [Ping timeout: 256 seconds]
Gurkenglas has joined #ocaml
Bronsa has quit [Ping timeout: 264 seconds]
mbuf has quit [Ping timeout: 268 seconds]
mbuf has joined #ocaml
silenc3r has joined #ocaml
pierpal has joined #ocaml
mk9 has joined #ocaml
oh_lawd has quit []
oh_lawd has joined #ocaml
mfp has joined #ocaml
mk9 has quit [Quit: mk9]
troydm has quit [Ping timeout: 248 seconds]
argent_smith has joined #ocaml
hdon has joined #ocaml
mk9 has joined #ocaml
hdon has quit [Ping timeout: 264 seconds]
mk9 has quit [Ping timeout: 255 seconds]
ELLIOTTCABLE has quit []
ELLIOTTCABLE has joined #ocaml
vinoski has quit []
vinoski has joined #ocaml
l1x has quit []
l1x has joined #ocaml
strmpnk has quit []
strmpnk has joined #ocaml
ilovezfs_ has quit []
ilovezfs_ has joined #ocaml
Gurkenglas has quit [Ping timeout: 256 seconds]
ziyourenxiang has joined #ocaml
banjiewen has quit []
banjiewen has joined #ocaml
Haudegen has quit [Read error: Connection reset by peer]
argent_smith has quit [Quit: Leaving.]
bairui has quit [Ping timeout: 260 seconds]
bairui has joined #ocaml
hdon has joined #ocaml
dakk has quit [Read error: Connection reset by peer]
hdon has quit [Ping timeout: 263 seconds]
malina has joined #ocaml
Soni has quit [Read error: Connection reset by peer]
Haudegen has joined #ocaml
sh0t has joined #ocaml
tarptaeya has joined #ocaml
_andre has joined #ocaml
malina has quit [*.net *.split]
infinity0 has quit [*.net *.split]
letoh has quit [*.net *.split]
markhkim has quit [*.net *.split]
demonimin has quit [*.net *.split]
Fardale has quit [*.net *.split]
noplamodo has quit [*.net *.split]
Asmadeus has quit [*.net *.split]
shakalaka has quit [*.net *.split]
kandu has quit [*.net *.split]
tokenrove has quit [*.net *.split]
Cypi has quit [*.net *.split]
vodkaInferno has quit [*.net *.split]
salc has quit [*.net *.split]
rpcope has quit [*.net *.split]
seliopou has quit [*.net *.split]
tsani has quit [Ping timeout: 240 seconds]
malina has joined #ocaml
kandu has joined #ocaml
tokenrove has joined #ocaml
shakalaka has joined #ocaml
Asmadeus has joined #ocaml
noplamodo has joined #ocaml
Fardale has joined #ocaml
Cypi has joined #ocaml
rpcope has joined #ocaml
demonimin has joined #ocaml
salc has joined #ocaml
vodkaInferno has joined #ocaml
letoh has joined #ocaml
markhkim has joined #ocaml
infinity0 has joined #ocaml
seliopou has joined #ocaml
Exagone313 has quit [Ping timeout: 260 seconds]
bbc_ has quit [Ping timeout: 240 seconds]
bbc has joined #ocaml
Exagone313 has joined #ocaml
lostman has quit [Quit: Connection closed for inactivity]
jbrown has joined #ocaml
webshinra has quit [Ping timeout: 246 seconds]
steenuil has quit [Remote host closed the connection]
sh0t has quit [Remote host closed the connection]
letoh_ has joined #ocaml
letoh has quit [Ping timeout: 264 seconds]
letoh_ is now known as letoh
tarptaeya has quit [Quit: Konversation terminated!]
tarptaeya has joined #ocaml
shinnya has joined #ocaml
webshinra has joined #ocaml
aciniglio has joined #ocaml
silenc3r has quit [Quit: Leaving]
gtrak has joined #ocaml
pmetzger has joined #ocaml
kakadu has joined #ocaml
Bronsa has joined #ocaml
spew has joined #ocaml
mk9 has joined #ocaml
hdon has joined #ocaml
hdon has quit [Ping timeout: 240 seconds]
pierpal has quit [Ping timeout: 248 seconds]
sh0t has joined #ocaml
pierpal has joined #ocaml
mk9 has quit [Ping timeout: 260 seconds]
Aequus has quit [Quit: Lost terminal]
steenuil has joined #ocaml
hdon has joined #ocaml
mbuf has quit [Quit: Leaving]
<kakadu>
Folks, do you know any incremental _and_ persistent SMT solvers? More precisely I'm iunterested only in Presburger arithmetic
<companion_cube>
persistent would imply incremental, right?
<companion_cube>
but I don't know, it's hard to make SMT solvers efficient when written in funtional style
<pmetzger>
If you're interested only in presburger arithmetic, you don't want an smt solver. There's a solver for presburger arithmetic that works pretty well.
<pmetzger>
The algorithm is what is used for the "omega" tactic in Coq.
<kakadu>
Relying on SMT solver will be better for future enhancement but for the current case calling Omega or Cooper's algorithm should be fine
<companion_cube>
well good luck with that…
<companion_cube>
it'll be faster to just store a set of statements, and call Z3 from scratch every time :D
<kakadu>
pmetzger: I was looking for it and only found a Haskell implementation and also someting in Alt-Ergo which was look like a decision procedure for Presburger but I'm not sure
<pmetzger>
The decision procedure for Presburger is well known. You can probably find it with some google searching but if needed bother me. That said, it has terrible run time. _That_ said, it turns out the real world run time for any normal problem is fine.
<pmetzger>
BTW, if you look at Coq's "omega" tactic (which is written in OCaml) it might point at the papers in comments. I bet it doesn't but it's worth a try.
<companion_cube>
Cooper is just better
<Armael>
Coq's omega does not handle quantifiers tho :|
jeroud has quit []
jeroud has joined #ocaml
letoh has quit [*.net *.split]
malina has quit [*.net *.split]
infinity0 has quit [*.net *.split]
demonimin has quit [*.net *.split]
markhkim has quit [*.net *.split]
Fardale has quit [*.net *.split]
Asmadeus has quit [*.net *.split]
noplamodo has quit [*.net *.split]
shakalaka has quit [*.net *.split]
kandu has quit [*.net *.split]
tokenrove has quit [*.net *.split]
Cypi has quit [*.net *.split]
vodkaInferno has quit [*.net *.split]
salc has quit [*.net *.split]
rpcope has quit [*.net *.split]
seliopou has quit [*.net *.split]
nicoo has quit [*.net *.split]
talyian[m] has quit [*.net *.split]
aantron has quit [*.net *.split]
hdurer[m] has quit [*.net *.split]
peddie[m] has quit [*.net *.split]
ansiwen has quit [*.net *.split]
pierpal has quit [*.net *.split]
gtrak has quit [*.net *.split]
mfp has quit [*.net *.split]
zolk3ri has quit [*.net *.split]
mrvn has quit [*.net *.split]
Drup has quit [*.net *.split]
dogui has quit [*.net *.split]
keep_learning has quit [*.net *.split]
andrewalker has quit [*.net *.split]
iZsh has quit [*.net *.split]
bartholin has quit [*.net *.split]
sveit has quit [*.net *.split]
stux|RC has quit [*.net *.split]
rwmjones has quit [*.net *.split]
inr has quit [*.net *.split]
tormen has quit [*.net *.split]
wagle has quit [*.net *.split]
artart78 has quit [*.net *.split]
richi235 has quit [*.net *.split]
dmbaturin has quit [*.net *.split]
darktena1bre has joined #ocaml
wagle has joined #ocaml
artart78 has joined #ocaml
emias has joined #ocaml
dmbaturin has joined #ocaml
tormen has joined #ocaml
Sargun has joined #ocaml
butterthebuddha has joined #ocaml
kini has joined #ocaml
richi235 has joined #ocaml
rixed_ has joined #ocaml
ansiwen has joined #ocaml
aantron has joined #ocaml
peddie[m] has joined #ocaml
hdurer[m] has joined #ocaml
talyian[m] has joined #ocaml
letoh has joined #ocaml
shakalaka has joined #ocaml
kandu has joined #ocaml
Asmadeus has joined #ocaml
noplamodo has joined #ocaml
Fardale has joined #ocaml
tokenrove has joined #ocaml
vodkaInferno has joined #ocaml
demonimin has joined #ocaml
Cypi has joined #ocaml
salc has joined #ocaml
markhkim has joined #ocaml
seliopou has joined #ocaml
malina has joined #ocaml
rpcope has joined #ocaml
infinity0 has joined #ocaml
hdon has quit [Ping timeout: 260 seconds]
aciniglio has quit [Ping timeout: 260 seconds]
picolino has quit [Ping timeout: 260 seconds]
pierpal has joined #ocaml
keep_learning has joined #ocaml
andrewalker has joined #ocaml
iZsh has joined #ocaml
bartholin has joined #ocaml
sveit has joined #ocaml
Drup has joined #ocaml
rwmjones has joined #ocaml
inr has joined #ocaml
dogui has joined #ocaml
mrvn has joined #ocaml
stux|RC has joined #ocaml
zolk3ri has joined #ocaml
mfp has joined #ocaml
gtrak has joined #ocaml
stux|RC has quit [Max SendQ exceeded]
shinnya has quit [Ping timeout: 260 seconds]
stux|RC-- has joined #ocaml
Bluddy[m] has quit [Ping timeout: 256 seconds]
M-ErkkiSeppl has quit [Ping timeout: 256 seconds]
yetanotherion[m] has quit [Ping timeout: 256 seconds]
tiksin[m] has quit [Ping timeout: 245 seconds]
mmmmmmmmmmmm[m] has quit [Ping timeout: 246 seconds]
regnat[m] has quit [Ping timeout: 246 seconds]
bli[m] has quit [Ping timeout: 240 seconds]
remix2000[m] has quit [Ping timeout: 240 seconds]
multiocracy[m] has quit [Ping timeout: 240 seconds]
spectrumgomas[m] has quit [Ping timeout: 240 seconds]
aspiwack[m] has quit [Ping timeout: 240 seconds]
copy` has quit [Ping timeout: 240 seconds]
loxs[m] has quit [Ping timeout: 255 seconds]
smondet[m] has quit [Ping timeout: 255 seconds]
isaachodes[m] has quit [Ping timeout: 268 seconds]
Haudegen[m] has quit [Ping timeout: 260 seconds]
caseypme[m] has quit [Ping timeout: 260 seconds]
hcarty[m] has quit [Ping timeout: 260 seconds]
orbifx[m] has quit [Ping timeout: 268 seconds]
M-jimt has quit [Ping timeout: 268 seconds]
equalunique[m] has quit [Ping timeout: 268 seconds]
M-martinklepsch has quit [Ping timeout: 268 seconds]
Bozghurt[m] has quit [Ping timeout: 268 seconds]
talyian[m] has quit [Ping timeout: 256 seconds]
aantron has quit [Ping timeout: 256 seconds]
hdurer[m] has quit [Ping timeout: 256 seconds]
peddie[m] has quit [Ping timeout: 256 seconds]
ansiwen has quit [Ping timeout: 256 seconds]
dlebrecht[m] has quit [Ping timeout: 256 seconds]
olopierpa[m] has quit [Ping timeout: 276 seconds]
drsmkl[m] has quit [Ping timeout: 276 seconds]
rgr[m] has quit [Ping timeout: 276 seconds]
srenatus has quit [Ping timeout: 276 seconds]
picolino has joined #ocaml
shinnya has joined #ocaml
moei has quit [Ping timeout: 240 seconds]
moei has joined #ocaml
sgnb has quit [Remote host closed the connection]
barcabuona has quit [Quit: WeeChat 2.1]
nicoo has joined #ocaml
chenglou has quit []
chenglou has joined #ocaml
Guest32984 has quit []
Guest32984 has joined #ocaml
Gurkenglas has joined #ocaml
mattg has quit []
mattg has joined #ocaml
jyc has quit []
jyc has joined #ocaml
Haudegen has quit [Remote host closed the connection]
al-damiri has joined #ocaml
FreeBirdLjj has joined #ocaml
DanielRichman has joined #ocaml
bjs_ has joined #ocaml
bigs has quit []
bigs has joined #ocaml
samposm has quit [*.net *.split]
bjs has quit [*.net *.split]
Muzer has quit [*.net *.split]
Guest90180 has quit [*.net *.split]
bjs_ is now known as bjs
ansiwen has joined #ocaml
ansiwen has joined #ocaml
ansiwen has quit [Changing host]
shinnya has quit [Ping timeout: 256 seconds]
neatonk[m] has joined #ocaml
ipfix has quit [Ping timeout: 256 seconds]
Muzer has joined #ocaml
spectrumgomas[m] has joined #ocaml
rgr[m] has joined #ocaml
drsmkl[m] has joined #ocaml
aspiwack[m] has joined #ocaml
srenatus has joined #ocaml
M-jimt has joined #ocaml
copy` has joined #ocaml
M-martinklepsch has joined #ocaml
aantron has joined #ocaml
hdurer[m] has joined #ocaml
smondet[m] has joined #ocaml
equalunique[m] has joined #ocaml
peddie[m] has joined #ocaml
regnat[m] has joined #ocaml
remix2000[m] has joined #ocaml
multiocracy[m] has joined #ocaml
caseypme[m] has joined #ocaml
loxs[m] has joined #ocaml
yetanotherion[m] has joined #ocaml
isaachodes[m] has joined #ocaml
tiksin[m] has joined #ocaml
mmmmmmmmmmmm[m] has joined #ocaml
hcarty[m] has joined #ocaml
talyian[m] has joined #ocaml
olopierpa[m] has joined #ocaml
dlebrecht[m] has joined #ocaml
bli[m] has joined #ocaml
Bozghurt[m] has joined #ocaml
M-ErkkiSeppl has joined #ocaml
orbifx[m] has joined #ocaml
Haudegen[m] has joined #ocaml
Bluddy[m] has joined #ocaml
dakk has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
lynn has quit []
lynn has joined #ocaml
samposm has joined #ocaml
bairui has quit [Ping timeout: 260 seconds]
ipfix has joined #ocaml
spew has quit []
spew has joined #ocaml
jnavila has joined #ocaml
dakk has quit [Remote host closed the connection]
shinnya has joined #ocaml
FreeBirdLjj has joined #ocaml
tsani has joined #ocaml
hdon has joined #ocaml
jnavila has quit [Remote host closed the connection]
jnavila has joined #ocaml
dedgrant has joined #ocaml
Haudegen has joined #ocaml
hdon has quit [Ping timeout: 248 seconds]
pierpal has quit [Ping timeout: 248 seconds]
pierpal has joined #ocaml
bairui has joined #ocaml
hdon has joined #ocaml
pierpal has quit [Ping timeout: 268 seconds]
pierpal has joined #ocaml
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #ocaml
Anarchos has joined #ocaml
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #ocaml
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #ocaml
exarkun has quit [Read error: Connection reset by peer]
Bronsa` has joined #ocaml
pierpal has quit [Ping timeout: 260 seconds]
sagax has joined #ocaml
troydm has joined #ocaml
exarkun has joined #ocaml
pierpal has joined #ocaml
pierpal has quit [Ping timeout: 248 seconds]
pierpal has joined #ocaml
kakadu has quit [Quit: Konversation terminated!]
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 248 seconds]
pierpal has quit [Ping timeout: 248 seconds]
tilpner has quit [Remote host closed the connection]
jnavila_ has joined #ocaml
jnavila has quit [Ping timeout: 240 seconds]
tilpner has joined #ocaml
rostero has joined #ocaml
Anarchos has quit [Quit: Vision[0.10.2]: i've been blurred!]
<exarkun>
is there a reasonable way to get non-trivial code loaded into utop? It seems like I have to first manually unravel all dependencies and #use or #load them which is pretty unwieldy for a big, multi-module codebase.
silenc3r has joined #ocaml
<companion_cube>
#require "somelib"
<companion_cube>
or `jbuilder utop some/directory` if you use jbuilder
<exarkun>
What kind of thing is "somelib" in that #require command?
<companion_cube>
an opam lib, typically
<companion_cube>
(technically, an ocamlfind library, but these are normally installed via opam)
pierpa has joined #ocaml
<exarkun>
Hm. fun `caml_...` link errors from `jbuilder utop some/directory`
pierpal has joined #ocaml
<silenc3r>
I'm using ocaml-sqlite and I want to get output from sql query. Is my only option to define ref and then update that ref contents in callback function provided to Sqlite3.exec? That kinda sucks. I wish Sqlite3.exec just give me the result.
<companion_cube>
exarkun: weird
<companion_cube>
maybe if you're using C bindings…
<companion_cube>
silenc3r: Sqlite3 is the low level binding
<exarkun>
I think maybe they come from "nocrypto". I'm not sure. This is someone else's codebase, I'm trying to learn my way around it.
<companion_cube>
there's sqlexpr, which is higher level, afair
<companion_cube>
ah well, nocrypto, yeah, there's C there
<Armael>
yea I would recommend using sqlexpr over using ocaml-sqlite directly
<silenc3r>
I'll try sqlexpr then.
kakadu has joined #ocaml
<silenc3r>
estring compilation failed when building sqlexpr, but I see this package is optional dependency. How can I skip it?
<Armael>
you should be able to install sqlexpr without having estring installed
Gurkenglas has quit [Ping timeout: 256 seconds]
baroud has joined #ocaml
<companion_cube>
oh dang, sqlexpr should also migrate to having -ppx and -camlp4 sublibs I guess
<silenc3r>
oh, sqlexpr requires OCaml <= 4.05.0, and I'm using 4.06.1. Why did opam even try to install it?
gareppa has joined #ocaml
gareppa has quit [Client Quit]
<silenc3r>
creating new switches and reinstalling packages isn't fun...
baroud has quit [Remote host closed the connection]
baroud has joined #ocaml
Haudegen has quit [Remote host closed the connection]
baroud has quit [Ping timeout: 264 seconds]
<silenc3r>
companion_cube: what are these and how can I use them in utop? I'm getting Error: Unbound value sql when trying to create SQL expressions in form sql"SELECT ..."
<companion_cube>
that's camlp4
Haudegen has joined #ocaml
<companion_cube>
seems like the ppx part is not polished at all… :/
zolk3ri has quit [Quit: leaving]
zolk3ri has joined #ocaml
wagle has quit [Remote host closed the connection]
wagle has joined #ocaml
silenc3r has quit [Read error: Connection reset by peer]
silenc3r has joined #ocaml
<silenc3r>
OK, it seems to be working now (not in utop though), but I'm building it with ocamlfind following example from sqlexpr github page.
<silenc3r>
how can I translate this to jbuild? ocamlfind ocamlc -package sqlexpr.ppx -package containers -linkpkg -thread -o db.exe ./db.ml
<companion_cube>
well you definitely need to write a jbuild file