adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml MOOC http://1149.fr/ocaml-mooc | OCaml 4.02.3 announced http://ocaml.org/releases/4.02.html | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
<Anarchos> def` opam install bisect_ppx ==> No package matches bisect_ppx.
struk|desk|away is now known as struk|desk
RossJH has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<aantron> what switch are you on?
<aantron> have you tried opam update?
<Anarchos> yes
<def`> opam --version ?
<Anarchos> 1.3.0~dev3
<aantron> and, is it only bisect_ppx affected, or a lot of packages are missing from opam list --all?
<Anarchos> acieroid all are missing but three base-unix,base-threads,base-bigarray.
seangrove has joined #ocaml
seangrove has quit [Ping timeout: 260 seconds]
ely-se has quit [Quit: Leaving...]
luzie has quit [Quit: WeeChat 1.5-dev]
luzie has joined #ocaml
<Anarchos> aantron all are missing but three base-unix,base-threads,base-bigarray.
<aantron> interesting. do you know if opam was able to retrieve the package repo?
JacobEdelman has quit [Quit: Connection closed for inactivity]
teknozulu has quit [Ping timeout: 250 seconds]
<Anarchos> no idea
<Drup> Anarchos: "opam remote"
mcmillhj has quit [Quit: Lost terminal]
lobo has quit [Quit: zleep]
<Anarchos> Drup 0 [http] default https://opam.ocaml.org/1.3
<Drup> that should be fine then
<Anarchos> Does opam rebuild by sources or just download binaries of the packages ?
<Drup> source
<Anarchos> i am on haikuOS . I built opam from source too.
lokien_ has quit [Quit: Connection closed for inactivity]
Fleurety has joined #ocaml
j_king has quit [Ping timeout: 250 seconds]
j_king has joined #ocaml
badon has joined #ocaml
nullremains has quit [Ping timeout: 256 seconds]
j_king has quit [Ping timeout: 240 seconds]
j_king has joined #ocaml
JacobEdelman has joined #ocaml
larhat1 has quit [Quit: Leaving.]
Anarchos has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
Algebr` has joined #ocaml
<wolfcore> Does utop care about mli files at all?
<wolfcore> Can I eval interfaces like I do with things in .ml files?
<wolfcore> I mean from emacs to my utop buffer
<def`> #use_mod maybe?
<Algebr`> what happens when you try it
ryanartecona has joined #ocaml
pyon has joined #ocaml
j_king has quit [Remote host closed the connection]
j_king has joined #ocaml
pierpa has quit [Ping timeout: 265 seconds]
Guest38 has joined #ocaml
ryanartecona has quit [Quit: ryanartecona]
sh0t has quit [Remote host closed the connection]
Algebr` has quit [Remote host closed the connection]
Fleurety has quit [Remote host closed the connection]
seangrove has joined #ocaml
johnelse has quit [Ping timeout: 250 seconds]
aantron has quit [Quit: Leaving...]
seangrove has quit [Ping timeout: 276 seconds]
johnelse has joined #ocaml
johnelse is now known as Guest12520
struk|desk is now known as struk|desk|away
FreeBirdLjj has joined #ocaml
mac10688_ has quit [Ping timeout: 245 seconds]
mac10688 has quit [Ping timeout: 250 seconds]
ygrek_ has quit [Ping timeout: 256 seconds]
govg has quit [Ping timeout: 272 seconds]
kansi has joined #ocaml
chpxchg__ has joined #ocaml
govg has joined #ocaml
govg is now known as Guest75090
cmpxchg_ has quit [Ping timeout: 265 seconds]
Guest75090 has quit [Ping timeout: 250 seconds]
govg_ has joined #ocaml
seangrove has joined #ocaml
Guest38 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Fleurety has joined #ocaml
copy` has quit [Quit: Connection closed for inactivity]
MercurialAlchemi has joined #ocaml
darkf has joined #ocaml
seangrove has quit [Ping timeout: 256 seconds]
slash^ has joined #ocaml
Sorella has quit [Quit: Connection closed for inactivity]
ggole has joined #ocaml
antkong_ has joined #ocaml
Simn has joined #ocaml
kakadu has joined #ocaml
antkong has joined #ocaml
badon has quit [Ping timeout: 250 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
kushal has quit [Quit: Leaving]
antkong has quit [Quit: antkong]
antkong has joined #ocaml
kakadu has quit [Remote host closed the connection]
govg_ has quit [Quit: Reconnecting]
govg has joined #ocaml
chpxchg__ has quit [Quit: Leaving]
deavid has quit [Read error: Connection reset by peer]
deavid has joined #ocaml
yawnt has joined #ocaml
cyraxjoe has quit [Ping timeout: 265 seconds]
cyraxjoe has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 265 seconds]
JacobEdelman has quit [Quit: Connection closed for inactivity]
cyraxjoe has quit [Client Quit]
Haudegen has quit [Ping timeout: 260 seconds]
silver has joined #ocaml
M-Illandan has joined #ocaml
Haudegen has joined #ocaml
tane has joined #ocaml
RossJH has joined #ocaml
RossJH has quit [Max SendQ exceeded]
manizzle has joined #ocaml
darkf_ has joined #ocaml
MercurialAlchemi has joined #ocaml
darkf has quit [Ping timeout: 240 seconds]
ygrek_ has joined #ocaml
ygrek_ has quit [Ping timeout: 240 seconds]
lokien has joined #ocaml
ely-se has joined #ocaml
struk|desk|away is now known as struk|desk
virtualeyes has joined #ocaml
sillyotter has joined #ocaml
sillyotter has quit [Client Quit]
virtualeyes is now known as nullremains
darkf_ is now known as darkf
seangrove has joined #ocaml
seangrove has quit [Ping timeout: 272 seconds]
mxv has joined #ocaml
<mxv> Hi #ocaml, in your experience, what's the best approach/tool/library to persist data structures ?
<ely-se> mxv: with "persist" do you mean serialise?
ely-se has quit [Quit: Leaving...]
<lokien> ely-se: I think he talked about "persistent data structures", like ones you have in clojure
luzie has quit [*.net *.split]
djellemah has quit [*.net *.split]
foolishmonkey has quit [*.net *.split]
xaimus has quit [*.net *.split]
zapu has quit [*.net *.split]
DanielRichman has quit [*.net *.split]
exm has quit [*.net *.split]
tizoc has quit [*.net *.split]
StatelessCat has quit [*.net *.split]
low-profile has quit [*.net *.split]
jpdeplaix has quit [*.net *.split]
lukky513 has quit [*.net *.split]
julienXX has quit [*.net *.split]
pdewacht_ has quit [*.net *.split]
nzyuzin_ has quit [*.net *.split]
pippijn has quit [*.net *.split]
riveter has quit [*.net *.split]
cow-orker has quit [*.net *.split]
nullcatxxx_ has quit [*.net *.split]
c-c has quit [*.net *.split]
mfp has quit [*.net *.split]
manizzle has quit [*.net *.split]
chris2 has quit [*.net *.split]
stephe has quit [*.net *.split]
maker has quit [*.net *.split]
rossberg has quit [*.net *.split]
eikke has quit [*.net *.split]
lokien has quit [*.net *.split]
yawnt has quit [*.net *.split]
strmpnk has quit [*.net *.split]
wolfcore has quit [*.net *.split]
myst|fon has quit [*.net *.split]
fluter has quit [*.net *.split]
andreypopp_ has quit [*.net *.split]
oskarth has quit [*.net *.split]
gustav___ has quit [*.net *.split]
sspi has quit [*.net *.split]
MasseR has quit [*.net *.split]
stomp has quit [*.net *.split]
nuuit has quit [*.net *.split]
jerith has quit [*.net *.split]
ski has quit [*.net *.split]
keteim has quit [*.net *.split]
deavid has quit [*.net *.split]
Guest12520 has quit [*.net *.split]
Madars has quit [*.net *.split]
apache2_ has quit [*.net *.split]
acieroid has quit [*.net *.split]
Johann has quit [*.net *.split]
musha68k has quit [*.net *.split]
relrod has quit [*.net *.split]
tvaalen has quit [*.net *.split]
infinity0 has quit [*.net *.split]
kandu has quit [*.net *.split]
zxqdms has quit [*.net *.split]
Maelan has quit [*.net *.split]
srax has quit [*.net *.split]
SHODAN has quit [*.net *.split]
vbmithr has quit [*.net *.split]
so has quit [*.net *.split]
kansi has quit [*.net *.split]
rfv has quit [*.net *.split]
vishesh has quit [*.net *.split]
sz0 has quit [*.net *.split]
boegel has quit [*.net *.split]
jimt has quit [*.net *.split]
segmond has quit [*.net *.split]
Nahra has quit [*.net *.split]
cross has quit [*.net *.split]
petercommand has quit [*.net *.split]
ahf has quit [*.net *.split]
adrien_znc has quit [*.net *.split]
ousado has quit [*.net *.split]
mankyKitty has quit [*.net *.split]
mspo has quit [*.net *.split]
S11001001 has quit [*.net *.split]
jeroud has quit [*.net *.split]
dch has quit [*.net *.split]
emmanueloga has quit [*.net *.split]
dexterph has quit [*.net *.split]
cschneid has quit [*.net *.split]
flux has quit [*.net *.split]
mj12` has quit [*.net *.split]
troydm has quit [*.net *.split]
emias has quit [*.net *.split]
ia0 has quit [*.net *.split]
MercurialAlchemi has quit [*.net *.split]
antkong has quit [*.net *.split]
Simn has quit [*.net *.split]
govg has quit [*.net *.split]
M-Illandan has quit [*.net *.split]
nicoo has quit [*.net *.split]
cthuluh_ has quit [*.net *.split]
Leonidas has quit [*.net *.split]
mietek has quit [*.net *.split]
bugabinga has quit [*.net *.split]
clog has quit [*.net *.split]
iosys has quit [*.net *.split]
bitbckt has quit [*.net *.split]
Khady has quit [*.net *.split]
reynir has quit [*.net *.split]
theblatte has quit [*.net *.split]
lyxia has quit [*.net *.split]
tokenrove has quit [*.net *.split]
srcerer has quit [*.net *.split]
tautologico has quit [*.net *.split]
lopex has quit [*.net *.split]
stux|RC-only has quit [*.net *.split]
Muzer has quit [*.net *.split]
sheijk has quit [*.net *.split]
mattg has quit [*.net *.split]
pootler_ has quit [*.net *.split]
oldmanistan_ has quit [*.net *.split]
alpen has quit [*.net *.split]
lpaste has quit [*.net *.split]
al-maisan has quit [*.net *.split]
igitoor has quit [*.net *.split]
sivoais has quit [*.net *.split]
octopus has quit [*.net *.split]
edwin has quit [*.net *.split]
luigy has quit [*.net *.split]
gargawel has quit [*.net *.split]
wagle has quit [*.net *.split]
Ankhers has quit [*.net *.split]
thesnowdog3 has quit [*.net *.split]
Cypi has quit [*.net *.split]
larhat has quit [*.net *.split]
sigjuice has quit [*.net *.split]
bitemyapp has quit [*.net *.split]
vodkaInf1rno has quit [*.net *.split]
rks` has quit [*.net *.split]
dmiller has quit [*.net *.split]
zoobab has quit [*.net *.split]
tokik has quit [*.net *.split]
jlouis has quit [*.net *.split]
nullremains has quit [*.net *.split]
Haudegen has quit [*.net *.split]
slash^ has quit [*.net *.split]
pyon has quit [*.net *.split]
danieli has quit [*.net *.split]
clockish has quit [*.net *.split]
cdidd has quit [*.net *.split]
companion_cube has quit [*.net *.split]
bernardofpc has quit [*.net *.split]
Enjolras has quit [*.net *.split]
asmanur_ has quit [*.net *.split]
iZsh has quit [*.net *.split]
haesbaert has quit [*.net *.split]
rwmjones has quit [*.net *.split]
artart78 has quit [*.net *.split]
Ravana has quit [*.net *.split]
dmbaturin has quit [*.net *.split]
jmasseo has quit [*.net *.split]
tianon has quit [*.net *.split]
Lasher` has quit [*.net *.split]
patronus has quit [*.net *.split]
mxv has quit [*.net *.split]
Fleurety has quit [*.net *.split]
vpm has quit [*.net *.split]
orbitz has quit [*.net *.split]
Snark has quit [*.net *.split]
sgnb has quit [*.net *.split]
fds has quit [*.net *.split]
Reventlov has quit [*.net *.split]
darius93 has quit [*.net *.split]
smondet has quit [*.net *.split]
__rlp has quit [*.net *.split]
fold3 has quit [*.net *.split]
Intensity has quit [*.net *.split]
hannes has quit [*.net *.split]
haelix has quit [*.net *.split]
Drup has quit [*.net *.split]
profan has quit [*.net *.split]
def` has quit [*.net *.split]
osheeta has quit [*.net *.split]
darkf has quit [*.net *.split]
tane has quit [*.net *.split]
silver has quit [*.net *.split]
j_king has quit [*.net *.split]
lambdahands has quit [*.net *.split]
noplamodo has quit [*.net *.split]
please_help has quit [*.net *.split]
NhanH has quit [*.net *.split]
zaquest has quit [*.net *.split]
AlexRussia has quit [*.net *.split]
adrien has quit [*.net *.split]
groovy2shoes has quit [*.net *.split]
cat5e has quit [*.net *.split]
_berke_ has quit [*.net *.split]
Algebr has quit [*.net *.split]
rbocquet has quit [*.net *.split]
struk|desk has quit [*.net *.split]
tristero has quit [*.net *.split]
inr has quit [*.net *.split]
jave has quit [*.net *.split]
nv_ has quit [*.net *.split]
thegameg has quit [*.net *.split]
jbrown has quit [*.net *.split]
tobiasBora has quit [*.net *.split]
rom1504 has quit [*.net *.split]
_2can has quit [*.net *.split]
hbar has quit [*.net *.split]
mehdi__ has quit [*.net *.split]
parataxis has quit [*.net *.split]
adarqui has quit [*.net *.split]
thizanne has quit [*.net *.split]
dinosaure has quit [*.net *.split]
msch has quit [*.net *.split]
l1x has quit [*.net *.split]
seako has quit [*.net *.split]
yminsky has quit [*.net *.split]
maufred has quit [*.net *.split]
cartwright has quit [*.net *.split]
mawuli has quit [*.net *.split]
jyc has quit [*.net *.split]
_habnabit has quit [*.net *.split]
Mandus has quit [*.net *.split]
jun has quit [*.net *.split]
Jamazia has quit [*.net *.split]
averell has quit [*.net *.split]
cnu- has quit [*.net *.split]
Asmadeus has quit [*.net *.split]
jtmcf has quit [*.net *.split]
Riviera has quit [Max SendQ exceeded]
kalzz has quit [Max SendQ exceeded]
tg has quit [Max SendQ exceeded]
ggherdov_ has quit [Max SendQ exceeded]
DanielRichman has joined #ocaml
DanielRichman has quit [Client Quit]
kalzz has joined #ocaml
AlexRussia has joined #ocaml
boegel has joined #ocaml
inr has joined #ocaml
infinity0 has joined #ocaml
def` has joined #ocaml
l1x has joined #ocaml
Asmadeus has joined #ocaml
rossberg has joined #ocaml
cnu- has joined #ocaml
cartwright has joined #ocaml
mspo has joined #ocaml
alpen has joined #ocaml
luigy has joined #ocaml
dexterph has joined #ocaml
iosys has joined #ocaml
jun has joined #ocaml
Khady has joined #ocaml
Madars has joined #ocaml
ia0 has joined #ocaml
vbmithr has joined #ocaml
deavidsedice has joined #ocaml
jbrown has joined #ocaml
igitoor has joined #ocaml
maker has joined #ocaml
xaimus has joined #ocaml
please_help has joined #ocaml
zxqdms has joined #ocaml
zaquest has joined #ocaml
Snark has joined #ocaml
mfp has joined #ocaml
ousado has joined #ocaml
mawuli has joined #ocaml
groovy2shoes has joined #ocaml
vishesh has joined #ocaml
SHODAN has joined #ocaml
cschneid has joined #ocaml
maufred has joined #ocaml
jeroud has joined #ocaml
cross has joined #ocaml
kandu has joined #ocaml
cthuluh_ has joined #ocaml
darius93 has joined #ocaml
stephe has joined #ocaml
hannes has joined #ocaml
vpm has joined #ocaml
tg has joined #ocaml
pdewacht_ has joined #ocaml
M-Illandan has joined #ocaml
hbar has joined #ocaml
jyc has joined #ocaml
thizanne has joined #ocaml
stomp has joined #ocaml
tautologico has joined #ocaml
oskarth has joined #ocaml
averell has joined #ocaml
orbitz has joined #ocaml
Algebr has joined #ocaml
mattg has joined #ocaml
al-maisan has joined #ocaml
sgnb has joined #ocaml
Nahra has joined #ocaml
bitbckt has joined #ocaml
chris2 has joined #ocaml
tvaalen has joined #ocaml
troydm has joined #ocaml
mankyKitty has joined #ocaml
lokien has joined #ocaml
manizzle has joined #ocaml
relrod has joined #ocaml
emias has joined #ocaml
_berke_ has joined #ocaml
thegameg has joined #ocaml
osheeta has joined #ocaml
Reventlov has joined #ocaml
clog has joined #ocaml
riveter has joined #ocaml
djellemah has joined #ocaml
fluter has joined #ocaml
low-profile has joined #ocaml
j_king has joined #ocaml
Riviera has joined #ocaml
sivoais has joined #ocaml
lukky513 has joined #ocaml
mxv has joined #ocaml
apache2_ has joined #ocaml
srax has joined #ocaml
tobiasBora has joined #ocaml
pootler_ has joined #ocaml
myst|fon has joined #ocaml
oldmanistan_ has joined #ocaml
ahf has joined #ocaml
lyxia has joined #ocaml
bugabinga has joined #ocaml
ski has joined #ocaml
S11001001 has joined #ocaml
gargawel has joined #ocaml
edwin has joined #ocaml
tokenrove has joined #ocaml
jerith has joined #ocaml
srcerer has joined #ocaml
mietek has joined #ocaml
segmond has joined #ocaml
eikke has joined #ocaml
stux|RC-only has joined #ocaml
sheijk has joined #ocaml
pyon has joined #ocaml
larhat has joined #ocaml
bitemyapp has joined #ocaml
Cypi has joined #ocaml
artart78 has joined #ocaml
vodkaInf1rno has joined #ocaml
nullremains has joined #ocaml
cdidd has joined #ocaml
sigjuice has joined #ocaml
rks` has joined #ocaml
iZsh has joined #ocaml
jlouis has joined #ocaml
<yawnt> heh, netsplit
<lokien> yawnt: I'm reading it then
<lokien> yawnt: I wish there was more tooling available around ocaml though
Jamazia has joined #ocaml
<yawnt> lokien: yes, that's definitely an issue i'm feeling
<yawnt> lokien: but then again, where can you get something like Mirage?
<yawnt> i think OCaml tooling isn't there, it's just focused on non-traditional niches
Enjolras_ has joined #ocaml
<lokien> yawnt: why aren't brilliant languages more popular, eh
Ravana has joined #ocaml
<def`> what kind of tools would you like?
jmasseo_ has joined #ocaml
M-Illandan has quit [Ping timeout: 263 seconds]
srcerer has quit [Ping timeout: 263 seconds]
<yawnt> def`: network stuff, mostly
<lokien> def`: simple build tool, website where you can find functions you're looking for easily
<lokien> two most important things for me
<yawnt> lokien: oh i got that!
<yawnt> wait
dmbaturin_ has joined #ocaml
<yawnt> love this one!
<yawnt> def`: like, where I work we expose a lot of services, mostly in Scala, and I'd be super happy to switch from Scala to OCaml
pyon` has joined #ocaml
<yawnt> but even the basic API framework / database / serialization
M-Illandan has joined #ocaml
<yawnt> there's little.. so far I've found Opium
<lokien> yawnt: seems bare bones, but maybe it's good, I dunno
<yawnt> and Capn'proto, but RPC isn't supported apparently
clockish has joined #ocaml
<lokien> yawnt: can't you drop to c?
rwmjones_ has joined #ocaml
<lokien> I mean, import some network stuff from c, in ocaml
FreeBirdLjj has joined #ocaml
<yawnt> yeah, but like, it's lots of work, i don't mind doing it if it's for me
<yawnt> but for a company, you need to get stuff done
danieli has joined #ocaml
danieli has quit [Max SendQ exceeded]
danieli has joined #ocaml
pyon has quit [Remote host closed the connection]
rwmjones_ is now known as rwmjones
madroach has joined #ocaml
<yawnt> capn'proto is C++ btw, so harder to interface than pure C
<lokien> yawnt: yeah, companies suck sometimes
<lokien> eh : (
<yawnt> i got lucky, we have tons of freedom
<yawnt> and no pressure to deliver
<lokien> it's hard to be functional
<lokien> good for you then
<yawnt> but even if i think i could pull it off, using C
<yawnt> there should be something in OCaml
<lokien> if there isn't we could build it
<lokien> brb, coffee
<yawnt> but heh, i'm probably trying to apply OCaml to a context which isn't very popular in the community
<yawnt> def`: ideas?
M-Illandan has quit [Ping timeout: 240 seconds]
RossJH has joined #ocaml
ggherdov_ has joined #ocaml
<lokien> yawnt: I wonder what's popular then
<def`> Binprot?
<yawnt> that's an OCaml specific format, iirf
<yawnt> *iirc
<yawnt> but whatevs, for the time being, i'll just enjoy toying with the language :)
<yawnt> and then i'll find a way to introduce it in the workplace
M-Illandan has joined #ocaml
larhat1 has joined #ocaml
M-Illandan has quit [Quit: node-irc says goodbye]
antkong___ has joined #ocaml
antkong___ is now known as antkong
M-Illandan has joined #ocaml
foolishmonkey has joined #ocaml
foolishmonkey has quit [Remote host closed the connection]
foolishmonkey has joined #ocaml
<lokien> how can I show docs of some function?
<lokien> is it possible in utop?
FreeBirdLjj has quit [Remote host closed the connection]
pierpa has joined #ocaml
<def`> no
<def`> It is possible in merlin, if lib has been compiled with cmts
hnagamin has joined #ocaml
<lokien> I want stdlib/core functions only
<lokien> def`: can you tell me the keybinding, please?
<madroach> When path-pinning packages how is the packages.dev and the local path provided to the pin kept in sync?
<madroach> never mind
govg has joined #ocaml
seangrove has joined #ocaml
seangrove has quit [Ping timeout: 240 seconds]
Snark has quit [Ping timeout: 276 seconds]
M-Illandan has quit [Ping timeout: 245 seconds]
lokien has quit [Remote host closed the connection]
lokien has joined #ocaml
Sorella has joined #ocaml
mac10688 has joined #ocaml
mac10688_ has joined #ocaml
sh0t has joined #ocaml
lokien has quit [Read error: Connection reset by peer]
Snark has joined #ocaml
lokien has joined #ocaml
eni has joined #ocaml
Sim_n has joined #ocaml
M-Illandan has joined #ocaml
Anarchos has joined #ocaml
sh0t has quit [Quit: Leaving]
mal``` has quit [K-Lined]
<Anarchos> merlin is not able to compile with ocaml 4.03.0 ?
<Anarchos> yawnt thabks
fluter has quit [Ping timeout: 245 seconds]
mal`` has joined #ocaml
fds has joined #ocaml
fluter has joined #ocaml
JacobEdelman has joined #ocaml
sh0t has joined #ocaml
copy` has joined #ocaml
pyon` has quit [Quit: usa usa pyon pyon]
sh0t has quit [Remote host closed the connection]
govg has quit [Ping timeout: 240 seconds]
govg has joined #ocaml
seangrove has joined #ocaml
lobo has joined #ocaml
seangrove has quit [Ping timeout: 250 seconds]
nullremains has quit [Ping timeout: 272 seconds]
MercurialAlchemi has joined #ocaml
virtualeyes has joined #ocaml
companion_cube has joined #ocaml
skeuomorf has joined #ocaml
mcmillhj has joined #ocaml
mcmillhj has quit [Client Quit]
axiles has joined #ocaml
sillyotter has joined #ocaml
danieli has joined #ocaml
danieli has quit [Changing host]
sillyotter has quit [Client Quit]
infinity0 has quit [Ping timeout: 250 seconds]
aantron has joined #ocaml
Guest38 has joined #ocaml
govg has quit [Ping timeout: 256 seconds]
govg has joined #ocaml
mxv has quit [Ping timeout: 276 seconds]
mxv has joined #ocaml
sh0t has joined #ocaml
govg has quit [Read error: Connection reset by peer]
govg has joined #ocaml
zpe has joined #ocaml
seangrove has joined #ocaml
SomeDamnBody has joined #ocaml
antkong has quit [Ping timeout: 245 seconds]
<SomeDamnBody> hey I have this program that uses Cmdliner
<SomeDamnBody> and it uses module Options, as in open Options
<SomeDamnBody> but I've searched everywhere for the definition of that module, because now I'm trying to replicate some of the functionality
<SomeDamnBody> I can't find Options anywhere
<SomeDamnBody> some submodules are Provider and Fields
<SomeDamnBody> but Option is different than Options
sh0t has quit [Ping timeout: 260 seconds]
<SomeDamnBody> I've searched through the interfaces that are being opened, and I've got the oasis file that is being used, so I can resolve dependencies
<SomeDamnBody> nevermind lol
<SomeDamnBody> I found it
<reynir> \o/
infinity0 has joined #ocaml
groovy2shoes has quit [Quit: Leaving]
govg has quit [Ping timeout: 264 seconds]
govg has joined #ocaml
shinnya has quit [Ping timeout: 240 seconds]
ggole has quit [Ping timeout: 240 seconds]
shinnya has joined #ocaml
ggole has joined #ocaml
kevinch has joined #ocaml
ygrek_ has joined #ocaml
hnagamin has quit [Ping timeout: 250 seconds]
hnagamin has joined #ocaml
govg has quit [Ping timeout: 240 seconds]
<SomeDamnBody> is there a way to specify what target to build when using ocamlbuild
<adrien> you just tell it on the command line but with the path iirc
<SomeDamnBody> ok... can I get an example? Like, normally I use the following to build everything like this: ocaml setup.ml -quiet -build
<seangrove> Is there a way to pull in just Core_kernel.Std.Option, so that I can do e.g. `Option.value ~default:"blah" x`, but *not* open the rest of the module?
<thizanne> module Option = Core_kernel.Std.Option
<seangrove> thizanne: Thanks, that's great!
<seangrove> And is there something about infix operators? I notice `let open Lwt in ... >>= fun (x) -> ...` works, but not `module L = Lwt; ... L.>>= fun(x) -> ...`
<zozozo> seangrove: just do L.(... >>= ...)
<zozozo> which is the same as 'let open L in ... >>= ...'
<seangrove> zozozo: Ah, ok, that makes sense
<reynir> there's Lwt.Infix that you might want to open instead
govg has joined #ocaml
<ggole> Hmm. Is there some obvious way, given a set of ints, to generate an int not in the set?
sh0t has joined #ocaml
ygrek_ has quit [Ping timeout: 250 seconds]
<fds> In better than linear time? I think you'd have to store some extra info
Guest38 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ggole> Linear time is fine.
yawnt has joined #ocaml
<fds> Erm, linear assuming constant-time look-ups. Maybe nlogn with OCaml Sets.
<fds> Then `if 1 is not in S then 1 else next'
<fds> :-P
<ggole> Oh, actually, this should be easy because Set is sorted
<thizanne> with OCaml Sets, I velieve you can get the min/max element
<ggole> I can fold over it looking for gaps
<thizanne> so just take min - 1 or max + 1
lokien has quit [Quit: Leaving]
<ggole> The min/max could be min/max_int
<thizanne> if it's a possibility, then you can indeed fold the tree
<ggole> Hmm, I'll also need a pre-test to make sure that the set isn't, say, { max_int - 1, max_int } (which has no gaps)
<ggole> For which I can just return 0
mxv has quit [Ping timeout: 240 seconds]
<Drup> are you *still* missing something ? :D
<Drup> hum, I notice the serialization section is missing a ton of stuff
<Drup> "opam search serial" is going to give you rather long list
ygrek_ has joined #ocaml
Another_Nickname has joined #ocaml
ely-se has joined #ocaml
<yawnt> Drup: neither of those look very mature to me :P
<yawnt> apart from Eliom maybe, but it's very opinionated
<yawnt> the repo is very cool tho, star'd! thank you :)
<Drup> eliom isn't really opiniated
<Drup> (and cohttp is quite mature)
<yawnt> cohttp is very low level tho
<Drup> yes
<yawnt> don't get me wrong, i'm not saying it's an issue for me
<Drup> (by "eliom is not opiniated" I mean it doesn't force anything on how you compose your application)
<Drup> (It just uses tool that are not present in most other frameworks, which makes things seems ... different)
<yawnt> but compared to say, clojure or go or scala
<yawnt> there's way less choice
<Drup> sure
<yawnt> less libraries = bigger chance to build something cool
<yawnt> right? :D
<Drup> ^^
lokien has joined #ocaml
<lokien> hey, how can I add core to my project? every time I run a program it says "Unbound module Core"
<Drup> how are you compiling ?
<lokien> I know I have to add it somewhere, but I don't know how
<lokien> ocaml main.ml (?)
<Drup> that's not really compiling :D
<Drup> ocamlfind ocamlc -package core -linkpkg main.ml -o my_executable
<lokien> sorry, I'm silly
<lokien> why is this so long ;_;
<Drup> compared to a normal invocation of clang, it's not much longer
<lokien> "ocamlfind: Error from package `threads': Missing -thread or -vmthread switch"
<Drup> beh, core ._.
<Drup> add -threads
ollehar has joined #ocaml
<Drup> -thread*
<lokien> is batteries/containers any better?
<Drup> ignore my remark and keep learning, it doesn't matter for now ;)
<lokien> welp, okay
<lokien> is using oasis necessary for every thing I build?
<Drup> not really
<Drup> you can use other build systems :p
<lokien> eh, everything's so tangled :')
ggole has quit [Ping timeout: 250 seconds]
yawnt has quit [Ping timeout: 264 seconds]
<lokien> oh, they are using corebuild in the book. it gives me infinite loop though
<Drup> how did you used it ? ^^
antkong_ has joined #ocaml
<lokien> copy-pasted "a complete program" from "real world ocaml"'s first chapter
<lokien> ran corebuild sum.native
<lokien> it compiled
<lokien> now I can type in numbers, but it gives me nothing back
<lokien> ohh, I have to ctrl+d
<lokien> great, thank you book for being intuitive
<seangrove> Jenga certainly sounds interesting, does anyone outside of Janestreet use it?
<lokien> I'm stupid, it clearly said I have to ctrl+d, but I skimmed over it. sorry for that, irc folks
<Drup> :D
<lokien> :(
* lokien feeling unnecessary
<seangrove> I have a `string Lwt.t list` that I'm trying to String.concat "\n", but obviously I can't use straight String.concat. What would be the straightforward way to reduce it all into a string Lwt.t?
<Drup> don't worry, it happens to everyone ;)
<Drup> seangrove: first, transform it into a string list Lwt.t using Lwt_list.map_p, then use concat
<seangrove> Drup: So transform it from a string Lwt.t list to a string list Lwt.t?
* seangrove 's gaze goes slightly cross-eyed
<Drup> yes
<Drup> you start with a list of thread
<Drup> to do anything about it
<Drup> you must get a thread that returns a list instead
<seangrove> Is there an identity function, or does everyone just write (fun x -> x) ?
<Drup> I tend to write it ..
<foolishmonkey> seangrove, no, and there is no 0 for int. Those are useless things.
Another_Nickname has quit [Quit: Page closed]
<lokien> Drup: I can compile it, but I still get "Unbound module Core" message from merlin.
<lokien> how to get rid of that?
kakadu has joined #ocaml
<reynir> You need to tell merlin what packages you are using
<lokien> how?
antkong_ has quit [Quit: antkong_]
<reynir> One way would be to add "PKG core" in .merlin, if I remember correctly
<lokien> and now, where is .merlin.. let me find it
<reynir> In vim you can use »:MerlinUse core« for a temporary fix
<lokien> ohh, I'll use it
<lokien> reynir: I'm reading that right now
<reynir> I don't remember REC and FLG :o
<lokien> so I just put it in my directory? phew, ocaml rocks
<reynir> Yes
<lokien> works as expected, thank you
dmbaturin_ is now known as dmbaturin
sh0t has quit [Ping timeout: 240 seconds]
<seangrove> Hrm, I'm doing something like: List.map (fun id -> make_http_request_returning_string_Lwt.t) big_list_of_ids, and it seems like they all launch very quickly (makes sense), but that's pretty bad on my part for the webserver I'm hitting. Is there perhaps an easy way to add some throttling here?
<lokien> how would I create a map? something like let my_map = [("one",1);("two",2)]
RossJH has quit [Quit: Textual IRC Client: www.textualapp.com]
<reynir> You can use Lwt_list.map_s instead to make it run in serial (i.e. one req at a time)
<flux> lokien, well, I suppose there are three options, one you just did (and then use ie. List.assoc do deal with it)
<lokien> flux: my code was valid?! :D
<flux> lokien, another is to use the Hashtbl module, and the third is using Map, which is a functor-based interface
<flux> lokien, it was, yes ;)
<lokien> flux: I'm porting a tictactoe to ocaml, so I'll go with that first option, since it looks simpler
<seangrove> reynir: Brilliant, thanks!
<flux> lokien, the query operations are going to take linear to the length of the list, of course, so if performance is a convern, you may want to reconsider :)
<reynir> seangrove: note that it will return whatever list Lwt.t instead of whatever Lwt.t list (I think)
<lokien> flux: also, what is idiomatic for keys? in clojure we have keywords, I don't know what to put here. strings?
<lokien> flux: nah, it's like 9 values
<seangrove> reynir: Yeah, saw that and fixed things up, thanks!
<flux> lokien, well, closest to keywords are polymorphic variants
<flux> lokien, but you probably want to define a sum type for the key
* lokien is overwhelmed
cyraxjoe has joined #ocaml
<lokien> flux: I guess I have to learn some more. thank you :)
<flux> lokien, happy learning :)
<lokien> flux: thanks again, I'll nag you if necessary :D
<lokien> s/if/when
lokien_ has joined #ocaml
yawnt has joined #ocaml
lokien has quit [Quit: Leaving]
Jane-PC has joined #ocaml
Jane-PC has joined #ocaml
skeuomorf has quit [Ping timeout: 240 seconds]
Haudegen has joined #ocaml
skeuomorf has joined #ocaml
yawnt has quit [Ping timeout: 276 seconds]
sh0t has joined #ocaml
skeuomorf has quit [Ping timeout: 250 seconds]
skeuomorf has joined #ocaml
simn__ has joined #ocaml
zpe_ has joined #ocaml
JacobEdelman_ has joined #ocaml
rwmjones_ has joined #ocaml
DanielRi1hman has joined #ocaml
JacobEdelman has quit [Ping timeout: 240 seconds]
zpe has quit [Ping timeout: 240 seconds]
fluter has quit [Ping timeout: 240 seconds]
Sim_n has quit [Ping timeout: 240 seconds]
rwmjones has quit [Ping timeout: 240 seconds]
JacobEdelman_ is now known as JacobEdelman
Jane-PC has quit [Quit: Leaving]
fluter has joined #ocaml
DanielRi1hman has quit [Quit: Reconnecting]
DanielRichman has joined #ocaml
<SomeDamnBody> hey the compiler isn't seeing code that is autogenerated by "with fields"
<SomeDamnBody> it's saying there's no MyModule.Fields module
<SomeDamnBody> I don't know what to do to get it to see that that module is generated
ollehar has quit [Quit: ollehar]
madroach has quit [Ping timeout: 248 seconds]
skeuomorf has quit [Ping timeout: 250 seconds]
antkong has joined #ocaml
hcarty has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 276 seconds]
madroach has joined #ocaml
<seangrove> What are my options for de/serializing data conveniently? In Clojure I'd just (spit "filename.edn" (pr-str my-data)), and then (read-string (slurp "filename.edn")) and be good to go without any sort of DB for a long time
<hcarty> SomeDamnBody: ocamlbuild src/foo.native (or ocamlbuild src/bar.cma)
zpe_ has quit [Remote host closed the connection]
MercurialAlchemi has joined #ocaml
<SomeDamnBody> cool thanks
<hcarty> seangrove: You can use ppx_deriving_yojson to get easy (de)serialization functions
<SomeDamnBody> hcarty, ^
<hcarty> SomeDamnBody: You're welcome. For extra fun, "ocamlbuild src/bar.inferred.mli" will put the automatically inferred interface for src/bar.ml into _build/src/bar.inferred.mli
<SomeDamnBody> nice
<SomeDamnBody> So um, I'm having trouble where the with fields facility isn't resulting in a Fields module seen by the compiler
<SomeDamnBody> like, I have type t = { blah : string } with fields
<SomeDamnBody> in a file called my_module.ml, say
<SomeDamnBody> and My_module.Fields.create is returning a "unbound module Fields"
<hcarty> I haven't used the Jane St camlp4 extensions so I'm not sure what they need in order to work
<hcarty> seangrove: See also https://github.com/janestreet/ppx_sexp_conv for sexpressions
hcarty has quit [Quit: WeeChat 1.4]
<SomeDamnBody> ugh
<SomeDamnBody> it was the requirement that there be a textual equality of the type name
<SomeDamnBody> so I can't name it whatever I want. It has to be type t = blah
Guest38 has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 276 seconds]
antkong has quit [Ping timeout: 250 seconds]
Guest38 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
damason has joined #ocaml
Stalkr has joined #ocaml
<seangrove> I'm trying to run the very basic example here https://github.com/mirage/irmin#usage, but getting an error: "Error: Unbound value Irmin.basic"
<seangrove> Getting started with OCaml packages is still a very difficult prospect for me :P
<seangrove> I have irmin.unix listed in my _oasis file
<seangrove> Ah, perhaps the example hasn't been updated? https://github.com/mirage/irmin/commit/77b6d33f19c172494be0762d6091686a4c9cd697
ygrek_ has quit [Ping timeout: 260 seconds]
madroach has quit [Ping timeout: 248 seconds]
ygrek has joined #ocaml
lokien_ has quit [Quit: Connection closed for inactivity]
simn__ has quit [Quit: Leaving]
madroach has joined #ocaml
lobo has quit [Quit: leaving]
j_king has quit [Ping timeout: 250 seconds]
j_king has joined #ocaml
Stalkr has quit [Quit: Leaving...]
jeroud has quit [Read error: Connection reset by peer]
l1x has quit [Ping timeout: 250 seconds]
mankyKitty has quit [Read error: Connection reset by peer]
emmanueloga has joined #ocaml
msch has joined #ocaml
mankyKitty has joined #ocaml
sz0 has joined #ocaml
jeroud has joined #ocaml
l1x has joined #ocaml
dch has joined #ocaml
parataxis has joined #ocaml
govg has quit [Ping timeout: 240 seconds]
vishesh has quit [Ping timeout: 240 seconds]
struk|desk has joined #ocaml
sz0 has quit [Quit: Connection closed for inactivity]
t4nk959 has joined #ocaml
t4nk959 has quit [Client Quit]
govg has joined #ocaml
vishesh has joined #ocaml
vishesh has quit [Client Quit]
antkong has joined #ocaml
vishesh has joined #ocaml
SomeDamnBody has quit [Ping timeout: 250 seconds]
j_king has quit [Ping timeout: 250 seconds]
Anarchos has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
j_king has joined #ocaml
sh0t has quit [Remote host closed the connection]