flux changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 4.00.1 http://bit.ly/UHeZyT | http://www.ocaml.org | Public logs at http://tunes.org/~nef/logs/ocaml/
LeNsTR has joined #ocaml
zpe has joined #ocaml
zpe_ has joined #ocaml
zpe has quit [Read error: Connection reset by peer]
frogfoodeater has quit [Ping timeout: 264 seconds]
zpe_ has quit [Ping timeout: 245 seconds]
q66 has quit [Remote host closed the connection]
amaloz has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
darkf has joined #ocaml
mattrepl has joined #ocaml
oriba has joined #ocaml
Neros has joined #ocaml
walter has quit [Read error: Connection reset by peer]
walter has joined #ocaml
madroach has quit [Ping timeout: 248 seconds]
madroach has joined #ocaml
tootooroo has quit [Quit: Brain.sys has encountered a problem and needs to close. We are sorry for the inconvenience.]
weie_ has joined #ocaml
weie has quit [Ping timeout: 240 seconds]
tootooroo has joined #ocaml
frogfoodeater has joined #ocaml
oriba has quit [Quit: oriba]
mattrepl has quit [Quit: mattrepl]
breakds has joined #ocaml
Yoric has joined #ocaml
cdidd has joined #ocaml
LeNsTR has quit [Changing host]
LeNsTR has joined #ocaml
Fullma has joined #ocaml
gnuvince has quit [Ping timeout: 276 seconds]
Yoric has quit [Ping timeout: 264 seconds]
anderse has joined #ocaml
breakds has quit [Remote host closed the connection]
Snark has joined #ocaml
anderse has quit [Quit: anderse]
LeNsTR is now known as lenstr
djcoin has joined #ocaml
Neros has quit [Ping timeout: 276 seconds]
ttamttam has joined #ocaml
hkBst has joined #ocaml
hkBst has quit [Changing host]
hkBst has joined #ocaml
Nahra has quit [Read error: Operation timed out]
Neros has joined #ocaml
chambart has joined #ocaml
<adrien_oww> o/
<orbitz> morning
thomasga has joined #ocaml
tootooroo has quit [Quit: Brain.sys has encountered a problem and needs to close. We are sorry for the inconvenience.]
<pippijn> morning
Neros has quit [Quit: No Ping reply in 180 seconds.]
zpe has joined #ocaml
Neros has joined #ocaml
<orbitz> pippijn: morning
<orbitz> OT: anyone Rackspace users here?
answer_42 has joined #ocaml
mcclurmc has quit [Ping timeout: 256 seconds]
Kakadu has joined #ocaml
mika1 has joined #ocaml
gnuvince has joined #ocaml
eikke has joined #ocaml
asmanur has quit [Ping timeout: 260 seconds]
asmanur has joined #ocaml
emj has joined #ocaml
emj is now known as Guest76495
Guest76495 is now known as emarj
<emarj> How do I get syntax extensions to work with oasis? Trying a simple "with sexp" without success...
<Kakadu> try to fix _tags file
mort___ has joined #ocaml
<Kakadu> emarj: "mocml/ParseYaml.ml": syntax_camlp4o, package_sexplib.syntax
<emarj> Ok. So I add it manually to the tags file?
<orbitz> yes
<Kakadu> yep
<emarj> thanks.
answer_42 has quit [Quit: WeeChat 0.4.0]
answer_42 has joined #ocaml
ollehar has joined #ocaml
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
rossberg has joined #ocaml
rossberg has quit [Remote host closed the connection]
rixed has joined #ocaml
rossberg has joined #ocaml
<emarj> It worked. This channel is a godsend. Very helpful.
<pippijn> I want ocaml
<adrien_oww> :-)
<Kakadu> pippijn: Is it a part of your famous job?
<pippijn> no
<pippijn> this is my day job back home
* Kakadu is confused to translate last phrase...
<pippijn> this is my job
<pippijn> the one I currently have
<pippijn> but don't want to keep
<Kakadu> aaah
Snark has quit [Ping timeout: 260 seconds]
<ousado> pippijn: is that the functional java stuff by tony morris aka dibblego?
Neros has quit [Quit: No Ping reply in 180 seconds.]
Neros has joined #ocaml
<pippijn> ousado: no, that's mine
<pippijn> ousado: I was missing a "simultaneously iterate over 2 collections" construct
<pippijn> so I made one
<ousado> I see.. so many desperate java devs :)
<ousado> (well, not that many, unfortunately)
tane has joined #ocaml
Fnar has quit [Quit: Client exiting]
emarj has quit [Read error: Connection reset by peer]
tootooroo has joined #ocaml
Snark has joined #ocaml
beginner42 has joined #ocaml
Neros has quit [Ping timeout: 245 seconds]
Neros has joined #ocaml
<beginner42> does anyone has experience with piqi as a protocol buffer
<companion_cube> pippijn: you can do it with java iterators, can't you? :)
<companion_cube> beginner42: not me, sorry
<orbitz> beginner42: No, that's why I wrote my own protobuf impl in Ocaml
<orbitz> piqi looked like a bitch
<orbitz> beginner42: if you have opam, opam install protobuf
<companion_cube> orbitz: how fast is it, by the way?
<orbitz> I don't know
* companion_cube doesn't even know whether protobufs allow to represent arbitray nested structures
<beginner42> orbitz: protobuf is the google buffer protocol?
<orbitz> yes
<beginner42> i will definitivly take a look at it :)
<pippijn> companion_cube: yes
<companion_cube> ah, nice
<pippijn> but I don't want that iterator loop in my code
<pippijn> DRY
ontologiae has joined #ocaml
<beginner42> orbitz: do you use the Core from jane street?
chambart has quit [Ping timeout: 246 seconds]
<orbitz> yes
<companion_cube> oh, it depends on core :/
<orbitz> yes
<orbitz> Once uCore is working it will depend on that instead
<companion_cube> uCore ? a smaller Core ?
beckerb has joined #ocaml
<orbitz> companion_cube: I believe he idea is sto provide core in a way that doesn't make your minimum exe size 8 megs:)
<orbitz> i'm trying to create uCore programatically but it's some ugly sed's
<companion_cube> orbitz: ah, interesting
<companion_cube> is ocaml-platform going to ship a 'standard library'?
<orbitz> basicaly it means (assuming namespaces don't exist) you have to kill the Core pack, and provide naems like Core_string
<orbitz> so you can link to the cmx directly
<companion_cube> like what batteries does?
<orbitz> (from what i'm told, I don't really know ocaml details at htis level)
<orbitz> Yes
<orbitz> But to get really micro, at least for me, you have to rip out a lot of things too, like Core.Std.String.Map needs to go since Core.Std.String alone is 400kb compiled
<orbitz> but i odn't know ifthat is what janest wants
<orbitz> I'd like a subset of core that lives in around 100kb .cmxa
<companion_cube> did you consider using batteries instead? 0:-)
<orbitz> For what? I don't actually have a problem with protobuf depending on Core
dsheets has joined #ocaml
dsheets has quit [Client Quit]
dsheets has joined #ocaml
<dsheets> How are local module opens resolved?
<dsheets> Specifically, Library.(Module.f ()) seems to always call Library.Module.f but ocamldep thinks Library.(Module.f ()) might require module.ml
<orbitz> dsheets: I susepct that is ocamldep being dumb
<dsheets> well, its dumbness is biting me :-(
<orbitz> dsheets: soudns like a good question for caml-list!
<dsheets> i mean, i understand that ocamldep only looks at the unit it is pointed to, yes?
<companion_cube> I don't understand, is this different from Library.Module.f () ?
<orbitz> I believe so, i pass all of my source names to it
<orbitz> dsheets: are you passing library.ml to it as well?
<orbitz> companion_cube: yes, I belive he issaying ocamldep things his library dpeends on Module not Libary.Module
<dsheets> I say $ ocamldep module.ml library.ml user.ml
<dsheets> module and library have no deps
<dsheets> and user has deps to both
<dsheets> Library.Module causes only library dep
<dsheets> Library.(Module. causes both
<orbitz> that is correct then, isn't it?
<orbitz> Oh wait it's not quite
<orbitz> I don't know dsheets
<dsheets> in the case where module loading is pure, yes, it's fine
<dsheets> if, say, you have a library with a submodule named "Issues" and then you have a test for something that uses "Issues" but you also have a test for "Issues" called "Issues" then things get very confused
<orbitz> caml-list can probably help you, that would be my place to go
<dsheets> hmm... this is the case for all opens
<dsheets> i guess it's an ambiguity to avoid recursive signature traversals
wwilly has joined #ocaml
dsheets has quit [Quit: Leaving]
dsheets has joined #ocaml
<wwilly> o/
<companion_cube> \o
ollehar1 has joined #ocaml
mcclurmc has joined #ocaml
Neros has quit [Ping timeout: 252 seconds]
Neros has joined #ocaml
tane has quit [Quit: Verlassend]
ttamttam has quit [Quit: ttamttam]
ollehar has quit [Ping timeout: 252 seconds]
<Leonidas> \o/
chambart has joined #ocaml
frogfoodeater has quit [Ping timeout: 252 seconds]
troydm has quit [Quit: What is hope? That all of your wishes and all of your dreams come true? (C) Rau Le Creuset]
_andre has joined #ocaml
q66 has joined #ocaml
<beginner42> i need to add a maintainer field to a opam file. can i just add a line like Maintainer: name, email, homepage or is there more to it?
tootooroo has quit [Quit: Brain.sys has encountered a problem and needs to close. We are sorry for the inconvenience.]
dsheets has quit [Ping timeout: 245 seconds]
jbrown has quit [Ping timeout: 245 seconds]
<orbitz> beginner42: There are examples of maintiners in other packages
<beginner42> orbitz: i looked at some packages with an _oasis file, but i couldnt find a maintainer: field
<orbitz> be_oasis is not opam
<orbitz> beginner42: _oasis is not opam
<beginner42> orbitz: sorry my mistake, i want to add a maintainer field to the _oasis file in my opam package for oasis2opam
<orbitz> beginner42: Maintainers
<orbitz> is the name of the field
mattrepl has joined #ocaml
<beginner42> orbitz: thanks
jbrown has joined #ocaml
groovy2shoes has joined #ocaml
leoncamel has quit [Quit: WeeChat 0.3.9.2]
groovy2shoes has quit [Quit: Computer has gone to sleep]
leoncamel has joined #ocaml
ollehar has joined #ocaml
yacks has quit [Ping timeout: 252 seconds]
yacks has joined #ocaml
Fnar has joined #ocaml
ollehar has quit [Ping timeout: 276 seconds]
ollehar has joined #ocaml
ollehar1 has quit [Read error: Operation timed out]
ollehar1 has joined #ocaml
dsheets has joined #ocaml
ollehar1 has quit [Ping timeout: 256 seconds]
troydm has joined #ocaml
rixed has quit [Quit: fsck]
ttamttam has joined #ocaml
ttamttam has quit [Client Quit]
ollehar1 has joined #ocaml
ollehar has quit [Ping timeout: 276 seconds]
chambart has quit [Ping timeout: 246 seconds]
ontologiae has quit [Quit: leaving]
ontologiae has joined #ocaml
awm22 has quit [Quit: Leaving.]
<Kakadu> hey
<Kakadu> does anybody has Qt5 installed?
* Kakadu needs a guinea pig for testing my scripts :)
<Leonidas> I could install it later, since Arch has Qt 5.0.1-10
Neros has quit [Ping timeout: 264 seconds]
dwmw2_gone is now known as dwmw2
emj has joined #ocaml
emj is now known as ernm
ernm has left #ocaml []
middayc has joined #ocaml
ollehar1 has quit [Ping timeout: 252 seconds]
ollehar has joined #ocaml
breakds has joined #ocaml
chambart has joined #ocaml
middayc has quit [Ping timeout: 264 seconds]
middayc has joined #ocaml
adahlberg has joined #ocaml
UncleVasya has joined #ocaml
mika1 has quit [Quit: Leaving.]
<adahlberg> https://gist.github.com/addahlbe/fe30ff1bd5360de25d3c I need to match the first a in SeqNext with the same thing I in SeqStart, anyone know how to structure that match to make it work? I am new to ocaml.
darkf has quit [Quit: Leaving]
Kakadu has quit []
<adahlberg> Nevermind, was missing a ; after my ). :p
breakds has quit [Quit: Konversation terminated!]
middayc has quit [Ping timeout: 246 seconds]
milosn has joined #ocaml
middayc has joined #ocaml
milosn_ has quit [Ping timeout: 240 seconds]
<SuperNoeMan> so I ran opam switch 4.01.0dev+trunk
<SuperNoeMan> and it completed, but I find that ocamlc -v still returns my current version...
q66 has quit [Remote host closed the connection]
q66 has joined #ocaml
<dsheets> SuperNoeMan, eval `opam config env`?
<SuperNoeMan> dsheets: spits a shit ton of "are invalid field names in"
olaf_ has joined #ocaml
<dsheets> SuperNoeMan, paste?
<dsheets> in a bin
<SuperNoeMan> I accidentally ran opam update before doing the opam config env
<SuperNoeMan> dsheets: http://pastebin.com/skRFzTpA
<dsheets> SuperNoeMan, $ opam --version ?
<SuperNoeMan> 0.9.1
<dsheets> SuperNoeMan, upgrade to 1.0.0
<dsheets> erm, i think
hkBst has quit [Quit: Konversation terminated!]
<SuperNoeMan> dsheets: how?
<SuperNoeMan> oh wait... opam is located in /usr/local/bin/opam
<dsheets> how did you install to begin? I think I cloned https://github.com/OCamlPro/opam/tree/1.0.0
<dsheets> then built and installed and so forth
<SuperNoeMan> I thought I had installed it with brew
<SuperNoeMan> yeah, apparently I didn't
<SuperNoeMan> oh wait...
<SuperNoeMan> I think I know
<SuperNoeMan> I installed ocaml using the dmg found on the website.
<SuperNoeMan> I'm sure that included opam
middayc has quit [Ping timeout: 276 seconds]
<dsheets> i dunno what the current status is but 1.0.0 works great for me
<dsheets> you might have to blow away your switches and associated libs but things can be built back pretty fast
<SuperNoeMan> ok lets do that
<SuperNoeMan> if its really easy
<dsheets> it's pretty straightforward
<dsheets> just do it all again :-)
<SuperNoeMan> opam switch doesn't work
<SuperNoeMan> I was trying to move to the dev trunk
<SuperNoeMan> opam switch 4.01.0dev+trunk
middayc has joined #ocaml
Kakadu has joined #ocaml
<SuperNoeMan> how do you uninstall ocaml if you installed it using hte dmg downloaded offered at the inria download site
<SuperNoeMan> ?
dsheets has quit [Ping timeout: 256 seconds]
dsheets has joined #ocaml
middayc has quit [Read error: Operation timed out]
beckerb has quit [Ping timeout: 245 seconds]
middayc has joined #ocaml
zpe has quit [Remote host closed the connection]
Neros has joined #ocaml
mort___ has quit [Quit: Leaving.]
<adahlberg> what OS super?
<thelema_> adahlberg: macos uses dmg
<SuperNoeMan> I removed all the files in the three directories it mentioned in the readme of the dmg
<SuperNoeMan> ... I'm not sure that I got it all though
<SuperNoeMan> because I don't have a list that mentions them all
<adahlberg> sorry what version OS are you on
<SuperNoeMan> Mt Lion
<adahlberg> If you uninstalled properly... http://caml.inria.fr/download.en.html. Just download the dmg. Go to downloads, click it, open the package and install just like any other app. Then to verify its installed just go to your terminal and type in Ocaml
<SuperNoeMan> adahlberg: no, I want keep from installing it using the dmg
<SuperNoeMan> and install everything with brew, which will update things later for me.
<SuperNoeMan> and manage things with opam. the dmg is bad
tane has joined #ocaml
<adahlberg> ohhh
<SuperNoeMan> that's why i want the dmg's remnants completely obliterated, because I'm using a second install
<thelema_> SuperNoeMan: it should suffice to remove the binaries from your path (ocamlc, ocamlfind, etc)
<SuperNoeMan> ok. and the man files and the lib
<SuperNoeMan> and thanks for confirming
<thelema_> It wouldn't hurt to remove any libraries, but they'll just take up disk space, and unless your other installs happen to use the same path, no problem
<thelema_> man files same as binaries.
<SuperNoeMan> true dat
<SuperNoeMan> :)
ontologiae has quit [Read error: Operation timed out]
beginner42 has quit [Quit: irc2go]
oriba has joined #ocaml
zpe has joined #ocaml
zerbob has joined #ocaml
<zerbob> hello
<zerbob> anyone knows where sys_error is documented ?
ttamttam has joined #ocaml
mcclurmc has quit [Ping timeout: 252 seconds]
smerz has joined #ocaml
zpe has quit [Ping timeout: 245 seconds]
middayc has quit [Read error: Operation timed out]
anderse has joined #ocaml
UncleVasya has quit [Quit: UncleVasya]
<ben_zen> zerbob: tried a google search? It'll be in the INRIA documentation, in one of the modules.
<zerbob> no result
<ben_zen> nothing?
<zerbob> and it's not in the index of exceptions
middayc has joined #ocaml
<zerbob> well no definition, only mentions of functions that raise it in sys, pervasives and filename
<zerbob> experience seems to indicate it takes a string parameter
<ben_zen> zerbob: look at the bit about filename, where you can extract a string from it.
<ben_zen> `with Sys_error e -> (prerr_endline e; exit 255)`
<ben_zen> prerr_endline, meanwhile, is in Pervasives
<ben_zen> .
<zerbob> where is that ?
<zerbob> what you just quoted
<zerbob> the piece of code
emmanuelux has joined #ocaml
<ben_zen> it's in pleac, of all places.
<ben_zen> http://pleac.sourceforge.net/pleac_ocaml/filecontents.html search for Sys_error on that page.
<zerbob> ok thanks
<zerbob> that's a website I'll try to remember
<zerbob> still, it's a bit weird that a standard exception is not defined in the documentation
<ben_zen> yeah, that strikes me as strange.
<ben_zen> I'm not sure where it would be defined, either.
<ben_zen> it's just an exception, apparently.
<ben_zen> so in that regard it's not unusual.
<zerbob> yes I know if it was defined there wouldn't be much to say about it
ollehar has quit [Ping timeout: 252 seconds]
adahlberg has quit [Remote host closed the connection]
eikke has quit [Read error: Operation timed out]
cthuluh has quit [Ping timeout: 264 seconds]
cthuluh has joined #ocaml
zpe has joined #ocaml
ollehar has joined #ocaml
zerbob has quit [Quit: Page closed]
zpe has quit [Ping timeout: 256 seconds]
mort___ has joined #ocaml
oriba has quit [Read error: Connection reset by peer]
oriba_ has joined #ocaml
ttamttam has left #ocaml []
cthuluh has quit [Read error: Operation timed out]
ollehar1 has joined #ocaml
cthuluh has joined #ocaml
osa1 has joined #ocaml
emmanuelux has quit [Quit: emmanuelux]
dsheets has quit [Ping timeout: 264 seconds]
Nahra has joined #ocaml
emmanuelux has joined #ocaml
ollehar has quit [Read error: Operation timed out]
chambart has quit [Ping timeout: 246 seconds]
adahlberg has joined #ocaml
Snark has quit [Quit: leaving]
oriba_ has quit [Remote host closed the connection]
mort___ has quit [Ping timeout: 240 seconds]
<bobry> is there a statistics library for OCaml? can't google anything up :(
<thelema_> bobry: there's gsl bindings
<thelema_> bobry: and there's some basic stats in my bench library
<bobry> I'm looking for statistical test mostly
contempt has quit [Ping timeout: 245 seconds]
<thelema_> https://github.com/thelema/bench/blob/master/src/bench.ml#L474 <- t-test for difference in population means
<thelema_> (actually, really just a z test)
<bobry> I see, so there's no library which implements most of the standard tests (KS, chisquared, fischer etc)?
<thelema_> I'm sure it's somewhere in here: https://bitbucket.org/mmottl/gsl-ocaml
dsheets has joined #ocaml
<bobry> I'll check it, thanks!
djcoin has quit [Quit: WeeChat 0.3.9.2]
contempt has joined #ocaml
mort___ has joined #ocaml
rgrisha has joined #ocaml
anderse has quit [Quit: anderse]
anderse has joined #ocaml
tootooroo has joined #ocaml
adahlberg has quit [Remote host closed the connection]
_andre has quit [Quit: leaving]
mort___ has quit [Quit: Leaving.]
pkrnj has joined #ocaml
ulfdoz has joined #ocaml
answer_42 has quit [Ping timeout: 276 seconds]
mrm has joined #ocaml
<mrm> Good day! Can anyone give me a hint on how to debug a camlp4 extension which is packaged in ocamlfind and depends on several other packages? I need to see the generated code.
<mrm> Calling "camlp4o blablabla" manually is too tiresome and error-prone because of all the dependencies :-(
ollehar1 has quit [Ping timeout: 252 seconds]
<mrm> Damn, I miss so much the Lisp's macroexpand facility...
ontologiae has joined #ocaml
rgrisha has quit [Ping timeout: 245 seconds]
<mrm> Ok. Figured it out myself... (added a rule to myocamlbuild.ml so that camlp4 is invoked with "-printer o" and I get the preprocessed source in /tmp in case of errors).
ddrone has joined #ocaml
pkrnj has quit [Quit: Computer has gone to sleep.]
osa1 has quit [Ping timeout: 256 seconds]
alxbl has quit [Remote host closed the connection]
pkrnj has joined #ocaml
Kakadu has quit []
cdidd has quit [Ping timeout: 248 seconds]
Nahra has quit [Remote host closed the connection]
ddrone has quit [Remote host closed the connection]
flx_ has joined #ocaml
Nahra has joined #ocaml
deavidsedice has joined #ocaml
ontologiae has quit [Ping timeout: 240 seconds]
noj_ has joined #ocaml
avsm_ has joined #ocaml
flux has quit [*.net *.split]
deavid has quit [*.net *.split]
PM has quit [*.net *.split]
avsm has quit [*.net *.split]
noj has quit [*.net *.split]
avsm_ is now known as avsm
flx_ is now known as flux
anderse has quit [Quit: anderse]
srcerer_ has joined #ocaml
PM has joined #ocaml
wormphle1m has joined #ocaml
wormphlegm has quit [Ping timeout: 240 seconds]
srcerer has quit [Ping timeout: 240 seconds]
srcerer_ is now known as srcerer
troydm has quit [Quit: What is hope? That all of your wishes and all of your dreams come true? (C) Rau Le Creuset]
troydm has joined #ocaml
alxbl has joined #ocaml
ollehar has joined #ocaml
ontologiae has joined #ocaml
anderse has joined #ocaml
anderse has quit [Client Quit]
ontologiae has quit [Ping timeout: 245 seconds]
olaf_ has quit [Disconnected by services]
olaf_ has joined #ocaml
q66 has quit [Remote host closed the connection]
eikke has joined #ocaml
ollehar has quit [Ping timeout: 240 seconds]
ulfdoz has quit [Read error: Operation timed out]
tane has quit [Quit: Verlassend]
fraggle_ has quit [Ping timeout: 245 seconds]
avsm has left #ocaml []
fraggle_ has joined #ocaml
ontologiae has joined #ocaml
frogfoodeater has joined #ocaml
thomasga has quit [Quit: Leaving.]
ontologiae has quit [Ping timeout: 276 seconds]
iZsh has quit [Ping timeout: 245 seconds]
iZsh has joined #ocaml
smerz has quit [Ping timeout: 246 seconds]
avsm has joined #ocaml
frogfoodeater has quit [Ping timeout: 245 seconds]
darkf has joined #ocaml
frogfoodeater has joined #ocaml
eikke has quit [Ping timeout: 264 seconds]
eikke has joined #ocaml
dsheets has quit [Ping timeout: 256 seconds]
Pantoufle has joined #ocaml
testcocoon has quit [Ping timeout: 240 seconds]
testcocoon has joined #ocaml
breakds has joined #ocaml