lapinou changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | http://www.ocaml.org | OCaml 4.01.0 announce at http://bit.ly/1851A3R | Public logs at http://tunes.org/~nef/logs/ocaml/
jave has joined #ocaml
dsheets has quit [Ping timeout: 245 seconds]
lostcuaz has quit [Remote host closed the connection]
oriba has quit [Quit: oriba]
lostcuaz has joined #ocaml
ygrek has joined #ocaml
nikki93 has quit [Remote host closed the connection]
nikki93 has joined #ocaml
sillyotter has joined #ocaml
sillyotter has quit [Remote host closed the connection]
jao has joined #ocaml
jao has quit [Changing host]
jao has joined #ocaml
zpe has joined #ocaml
zpe has quit [Ping timeout: 245 seconds]
nikki93 has quit [Remote host closed the connection]
ygrek has quit [Ping timeout: 272 seconds]
talzeus has joined #ocaml
jwatzman|work has quit [Quit: jwatzman|work]
nikki93 has joined #ocaml
ygrek has joined #ocaml
talzeus_ has joined #ocaml
talzeus has quit [Ping timeout: 245 seconds]
zpe has joined #ocaml
nikki93 has quit [Remote host closed the connection]
zpe has quit [Ping timeout: 245 seconds]
lostcuaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Don_Pellegrino has joined #ocaml
ollehar has quit [Ping timeout: 246 seconds]
Don_Pellegrino has quit [Quit: Konversation terminated!]
jbrown has quit [Ping timeout: 240 seconds]
clan has joined #ocaml
jbrown has joined #ocaml
zpe has joined #ocaml
kyrylo has quit [Ping timeout: 272 seconds]
zpe has quit [Ping timeout: 250 seconds]
csakatoku has quit [Remote host closed the connection]
yacks has joined #ocaml
vpm has quit [Ping timeout: 272 seconds]
vpm has joined #ocaml
mcclurmc has quit [Remote host closed the connection]
mcclurmc has joined #ocaml
Dongyancai has quit [Ping timeout: 245 seconds]
csakatoku has joined #ocaml
siddharthv_away is now known as siddharthv
mort___ has quit [Quit: Leaving.]
csakatoku has quit [Ping timeout: 246 seconds]
siddharthv has quit [Remote host closed the connection]
zpe has joined #ocaml
zpe has quit [Ping timeout: 272 seconds]
fayden has quit [Quit: Bye]
fayden has joined #ocaml
tlockney has quit [Excess Flood]
tlockney has joined #ocaml
tlockney has left #ocaml []
nikki93 has joined #ocaml
mmachenry1 has joined #ocaml
nikki93 has quit [Remote host closed the connection]
csakatoku has joined #ocaml
jao has quit [Ping timeout: 245 seconds]
zpe has joined #ocaml
ggole has joined #ocaml
tlockney has joined #ocaml
zpe has quit [Ping timeout: 250 seconds]
NoNNaN has quit [Ping timeout: 240 seconds]
NoNNaN has joined #ocaml
zpe has joined #ocaml
wwilly has joined #ocaml
zpe has quit [Ping timeout: 246 seconds]
wwilly has quit [Client Quit]
ygrek has quit [Ping timeout: 272 seconds]
mmachenry1 has quit [Ping timeout: 250 seconds]
mcclurmc has quit [Remote host closed the connection]
axiles has joined #ocaml
talzeus_ has quit [Remote host closed the connection]
siddharthv has joined #ocaml
ygrek has joined #ocaml
talzeus has joined #ocaml
Kakadu has joined #ocaml
yacks has quit [Ping timeout: 250 seconds]
dant3 has joined #ocaml
vkz has joined #ocaml
mmachenry has joined #ocaml
mort___ has joined #ocaml
csakatoku has quit [Remote host closed the connection]
mort___ has quit [Quit: Leaving.]
talzeus has quit [Read error: Connection reset by peer]
csakatoku has joined #ocaml
dant3 has quit [Remote host closed the connection]
dant3 has joined #ocaml
dant3 has quit [Remote host closed the connection]
dant3 has joined #ocaml
nikki93 has joined #ocaml
sagotch has joined #ocaml
dant3 has quit [Read error: Connection reset by peer]
dant3_ has joined #ocaml
yacks has joined #ocaml
mmachenry has quit [Ping timeout: 250 seconds]
<gasche> companion_cube: wtf? this is the idea at the core of the OCaml object type system since... 2000?
<gasche> I mean it's nice but it's well-known that row polymorphism gives you a flavor of expressive bounded polymorphism
<gasche> I'm honestly surprised you'd find that new
<companion_cube> I don't know much about subtyping, sorry -_-
<adrien> you need to do more lablgtk!
<adrien> Drup will give you some homework
<Kakadu> :)
<companion_cube> so you could write val f : (<a: 'tau; b: 'tau> as 'c) -> (<'c with sum: 'tau>) ?
<companion_cube> or something like this?
<gasche> the surface type system does not let you do that right now
<gasche> but the theory certainly does
<companion_cube> riiiight
<companion_cube> :/
<gasche> who cares?
<companion_cube> it just explains why I didn't know it :p
* companion_cube never read about the theory behind ocaml's objects' typing
FreeArtMan has joined #ocaml
<gasche> but it's not something in greek papers hidden somewhere
<gasche> it's a very simple idea
<gasche> when you say 'a -> 'a, and instantiate it, you get the same return type as the input type
cago has joined #ocaml
<gasche> when you say Object -> Object, and do a cast on the argument, you lose typing information
<gasche> this is why Go is kind of screwed right now
<gasche> the right way to do it in a subtyping world is to use polymorphism instead: forall ('a <= Object), 'a
<gasche> but it's rather complex, while row-typing (eg. OCaml #foo polymorphic types) simply piggiback on polymorphism as usual
fantasticsid has joined #ocaml
<companion_cube> but here you don't rturn the same object type
<companion_cube> since you add a field?
<Kakadu> gasche: Can you point out detailed article about how Go sucks?
<gasche> I'm not claiming Go sucks
<gasche> lots of hateful people are claiming that, and I am happy to distinguish myself by giving these guys the benefit of the doubt
<gasche> but not having parametric polymorphic certainly is a limitation
nikki93 has quit [Remote host closed the connection]
<gasche> Kakadu: see for example the first version proposed in the blog post http://commandcenter.blogspot.nl/2014/01/self-referential-functions-and-design.html
<gasche> for why using (void *), Object or (interface {}) as a substitute for polymorphism forces you to unsafe dynamic casts
<gasche> (pre-generics Java is also ripe with such examples)
nikki93 has joined #ocaml
<gasche> ( most realistic Go code will exhibit a problem of code duplication due to lack of generics; see eg. the very end of http://denis.papathanasiou.org/2012/10/14/go-golang-and-mongodb-using-mgo/ )
Simn has joined #ocaml
<Kakadu> gasche: saying about duplication do you mean {"lastName": bson.RegEx{"^"+lastName, "i"}}, {"lastName": lastName} and { "lastName": bson.RegEx{"^"+lastName, "i"}, "firstName": bson.RegEx{"^"+firstName, "i"}} ?
cago1 has joined #ocaml
nikki93 has quit [Remote host closed the connection]
cago has quit [Ping timeout: 272 seconds]
<gasche> Kakadu: "As far as code repetition goes, however, this framework is not that efficient in that each collection requires its own Search[Collection]() function, where the only difference among the different functions is the type of the searchResults variable.
<gasche> "
<companion_cube> can we make Set.Make(Int).t a private alias for the polymorphic set?
<companion_cube> for int Set.t, that is
<gasche> the point of the functor version is to have type-safety enforce coherence of comparisons
<gasche> if you coerce to a polymorphic set, you cannot go back
<gasche> (we would provide an injection function and not a private typedef, as they don't have the same representation and we don't want them to)
<companion_cube> sounds reasonable indeed
<companion_cube> maybe I'll do that
<companion_cube> or just a sorted enum ;)
Yoric has joined #ocaml
dant3_ has quit [Remote host closed the connection]
mort___ has joined #ocaml
Kakadu_ has joined #ocaml
avsm has joined #ocaml
Kakadu has quit [Ping timeout: 245 seconds]
vkz has quit [Read error: Connection reset by peer]
vkz has joined #ocaml
kaustuv has joined #ocaml
cago1 has quit [Quit: Leaving.]
cago has joined #ocaml
cago1 has joined #ocaml
cago has quit [Read error: Operation timed out]
fantasticsid has quit [Ping timeout: 245 seconds]
<kaustuv> Apropos of nothing, it's interesting that svn has propset and propget, but no propappend. This makes svn propset -R svn:ignore basically useless.
dant3 has joined #ocaml
skchrko has quit [Remote host closed the connection]
avsm has quit [Quit: Leaving.]
vkz has quit [Read error: No route to host]
<gasche> Apropos of nothing, I just discovered the --add-author-from option in git svn, which automagically formats svn dcommits to keep track of the initial author, in a format that git-svn can read back when producing a git mirror
<gasche> had I used that for my previous upstream merges of proposed patches, attribution would show up correctly in github/ocaml/ocaml
<adrien_oww> I'll do my best to let you use it by the end of the month
<gasche> :]
<gasche> I may not be the one in charge
<gasche> I mean, that you commit in a separate branch does not mean we should commit automatically without reviewing (that would be useless as far as trunk-mergeability control is concerned)
<adrien_oww> you couldn't for documentation changes? :o
<adrien_oww> (j/k, there will be other patches :P )
<gasche> and I won't be the one reviewing
<gasche> ah
<gasche> for other patches, maybe
<adrien_oww> I'm pondering sending an RFC on the caml-list in a few days
<adrien_oww> for feedback on the approach
Yoric has quit [Ping timeout: 250 seconds]
thorsten1 has quit [Quit: WeeChat 0.3.9.2]
jonludlam has joined #ocaml
cago1 has quit [Ping timeout: 246 seconds]
avsm has joined #ocaml
_andre has joined #ocaml
Dongyancai has joined #ocaml
skchrko has joined #ocaml
amirmc has joined #ocaml
dsheets has joined #ocaml
thorsten` has joined #ocaml
csakatoku has quit []
mort___ has quit [Quit: Leaving.]
AltGr has joined #ocaml
Thooms has joined #ocaml
Yoric has joined #ocaml
dant3 has quit [Remote host closed the connection]
talzeus has joined #ocaml
talzeus_ has joined #ocaml
avsm has quit [Quit: Leaving.]
dant3 has joined #ocaml
talzeus has quit [Ping timeout: 250 seconds]
vkz has joined #ocaml
dant3 has quit [Ping timeout: 246 seconds]
jonludlam has quit [Ping timeout: 245 seconds]
dant3 has joined #ocaml
vkz` has joined #ocaml
vkz` has quit [Read error: Connection reset by peer]
vkz` has joined #ocaml
AltGr has left #ocaml []
AltGr has joined #ocaml
kyrylo has joined #ocaml
mort___ has joined #ocaml
vkz has quit [Read error: Connection reset by peer]
AltGr has left #ocaml []
AltGr has joined #ocaml
<troydm> any suggestions? http://lpaste.net/1929582506621796352
jonludlam has joined #ocaml
mort___ has quit [Quit: Leaving.]
lostcuaz has joined #ocaml
<Simn> What could cause a stack trace to be missing something? I have a "Raised at" reported in a function A, with the next "Called from" being in function B calling function C. It seems to be missing how I got from C to A.
ollehar has joined #ocaml
<kaustuv> catching and re-reraising exceptions can change the backtrace
kerneis has quit [Ping timeout: 252 seconds]
dant3 has quit [Remote host closed the connection]
dant3 has joined #ocaml
<kaustuv> troydm: exit code 2 means missing or unknown command, so I am guessing that your ocaml installation is failing to invoke cpp
<troydm> does opam requires aspcud installed now?
<def-lkb> kaustuv: there is a weird -I/mnt/local/sda1/jdimino/git/sexplib/syntax' hardcoded path
<def-lkb> could the package be just wrong?!
<rks> :D
lostcuaz has quit [Remote host closed the connection]
lostcuaz has joined #ocaml
<troydm> hmm it seems i have older version of opam
<troydm> can i upgrade opam using opam itself?
<troydm> or i need to download sources and compile it myself again
Hiino has joined #ocaml
Hiino has quit [Client Quit]
<gasche> troydm: you can't (yet)
<troydm> gasche: ic, thx
ygrek has quit [Ping timeout: 250 seconds]
<johnelse> Is there a way to do depexts-like platform-specific dependencies in opam, but for opam rather than distro packages?
<johnelse> e.g. if linux install obus else install <something else>
talzeus_ has quit [Read error: Connection reset by peer]
nikki93 has joined #ocaml
talzeus has joined #ocaml
amirmc has quit [Quit: Leaving.]
Thooms has quit [Ping timeout: 246 seconds]
nikki93 has quit [Remote host closed the connection]
nikki93 has joined #ocaml
nikki93 has quit [Remote host closed the connection]
Thooms has joined #ocaml
dant3 has quit [Remote host closed the connection]
<ggole> Simn: I think tail calls can have that effect
talzeus has quit [Read error: Connection reset by peer]
clan has quit [Quit: clan]
sagotch has quit [Ping timeout: 245 seconds]
watermind has joined #ocaml
<Simn> ggole, thanks for the hint, I'll see what I can find.
watermind has quit [Client Quit]
watermind has joined #ocaml
watermind has quit [Client Quit]
watermind has joined #ocaml
siddharthv is now known as siddharthv_away
AltGr has left #ocaml []
AltGr has joined #ocaml
AltGr has left #ocaml []
AltGr has joined #ocaml
amirmc has joined #ocaml
amirmc has quit [Ping timeout: 245 seconds]
ontologiae_ has joined #ocaml
dant3 has joined #ocaml
Thooms has quit [Ping timeout: 252 seconds]
lostcuaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ollehar has quit [Ping timeout: 246 seconds]
nikki93 has joined #ocaml
nikki93 has quit [Remote host closed the connection]
<troydm> now omake install fails :(
<troydm> omake.opt was not found
<troydm> i have opam 1.1.1 now
yacks has quit [Quit: Leaving]
dant3 has quit []
dant3 has joined #ocaml
AltGr has left #ocaml []
AltGr has joined #ocaml
<kaustuv> The current omake package in opam seems to be broken for me as well. The 'opam.patch' patch does not apply.
<troydm> ind: stat() error /home/troydm/.opam/system/lib/toplevel/topfind: No such file or directory
AltGr has left #ocaml []
<troydm> *find
AltGr has joined #ocaml
AltGr has left #ocaml []
AltGr has joined #ocaml
watermind has quit [Quit: Konversation terminated!]
<troydm> it seems i don't have toplevel in the specified directory
watermind has joined #ocaml
<troydm> what should i do?
cago has joined #ocaml
AltGr has left #ocaml []
AltGr has joined #ocaml
TDJACR has quit [Ping timeout: 264 seconds]
AltGr has left #ocaml []
AltGr has joined #ocaml
AltGr has left #ocaml []
<troydm> okey it seems i know what the problem is
AltGr has joined #ocaml
<troydm> but now i need to somehow resolve it
amirmc has joined #ocaml
AltGr has left #ocaml []
AltGr has joined #ocaml
AltGr has left #ocaml []
AltGr has joined #ocaml
fantasticsid has joined #ocaml
amirmc has quit [Ping timeout: 272 seconds]
AltGr has left #ocaml []
AltGr has joined #ocaml
avsm has joined #ocaml
watermind has quit [Quit: Konversation terminated!]
watermind has joined #ocaml
avsm has quit [Client Quit]
cago has quit [Ping timeout: 272 seconds]
yacks has joined #ocaml
sagotch has joined #ocaml
watermind has quit [Quit: Konversation terminated!]
watermind has joined #ocaml
Dongyanc1i has joined #ocaml
ontologiae_ has quit [Ping timeout: 245 seconds]
Dongyancai has quit [Ping timeout: 265 seconds]
amirmc has joined #ocaml
watermind has quit [Quit: Konversation terminated!]
watermind has joined #ocaml
avsm has joined #ocaml
kerneis has joined #ocaml
dant3 has quit [Remote host closed the connection]
dant3 has joined #ocaml
dant3 has quit [Ping timeout: 245 seconds]
skchrko has quit [Ping timeout: 244 seconds]
mcclurmc has joined #ocaml
watermind has quit [Quit: Konversation terminated!]
watermind has joined #ocaml
FreeArtMan has quit [Quit: main.lv]
skchrko has joined #ocaml
dant3 has joined #ocaml
<companion_cube> I can't find the opam documentation pdf :/
shinnya has joined #ocaml
<companion_cube> actually I want to find how to make a repository, available by https
<sagotch> ??
<jpdeplaix`> companion_cube: as far as I can remember, it's available in the git repository
<sagotch> for your project ?
<companion_cube> well, to host a few packages that have little interest for people in general
<companion_cube> (especially development versions)
<sagotch> not sure about what you are looking for but yes, opam repo on github has some documentation (including a pdf version).
<Drup> sagotch: there is nothing specific to do, afaik
<Drup> just make it available and you are done
<companion_cube> looks like it expects some specific files, though
<companion_cube> the doc I could find is mostly about opam-on-the-client-side
ontologiae_ has joined #ocaml
NaCl__ is now known as NaCl
NaCl has quit [Changing host]
NaCl has joined #ocaml
<jpdeplaix`> companion_cube: the remote stuff is really simple
<companion_cube> for git repos it seems quite simple indeed
<companion_cube> but for http it looks like I have to generate a urls.txt
<jpdeplaix`> opam-admin does the job
<jpdeplaix`> (it's a tool delivered with opam)
WraithM has quit [Ping timeout: 265 seconds]
lostcuaz has joined #ocaml
darkf has quit [Quit: Leaving]
lostcuaz has quit [Client Quit]
<companion_cube> looks like I don't have it with the new opam 1.1.1 -_-
lostcuaz has joined #ocaml
adrien_o1w has joined #ocaml
amirmc has quit [Quit: Leaving.]
kyrylo has quit [Quit: Viva la revolucion!]
<nicoo> companion_cube: Strange. I have it, and the system package manager confirmed it was installed by the package for OPAM
adrien_oww has quit [Ping timeout: 252 seconds]
<companion_cube> ah, your package manager has opam1.1.1?
<Drup> companion_cube: arch, package opam-git ?
<companion_cube> I used the installer because my distro doesn't provide it
mmachenry has joined #ocaml
<Drup> companion_cube: aren't you an arch user ? =)
<companion_cube> yes, but at work I have a fedora
<Drup> oh
<Drup> poor you
mmachenry1 has joined #ocaml
Thooms has joined #ocaml
mmachenry has quit [Ping timeout: 245 seconds]
<Kakadu_> I need a tip
<Kakadu_> what does ('a option as 'a) mean? http://paste.in.ua/9328/raw/
<Kakadu_> Is my function really polymorphic?
<Kakadu_> or it accepts only `type t = option t` ?
<companion_cube> can you write this type?
<companion_cube> 'a option as 'a triggers an occur-check for me
<companion_cube> you should use a distinct name
<companion_cube> or _ option as 'c
<Drup> Kakadu_: you are using -rectypes, aren't you ?
<Kakadu_> Drup: yep
<Drup> this is why it's not a super good idea
<Drup> because you end up with this sort of stuff .. which barely make sens.
<kaustuv> It's an uninhabited type. Similar to type void = Void of void
<Kakadu_> problem fixed
<Kakadu_> I have written type signature manually in function definition and forgot to add `option`
dant3 has quit [Remote host closed the connection]
<kaustuv> Where are bugs against particular opam packages to be filed? On opam-repository/issues?
<kaustuv> Or should I contact the maintainer directly?
<companion_cube> I think it's opam-repository, yes
<companion_cube> (citation needed)
fantasticsid has quit [Remote host closed the connection]
amirmc has joined #ocaml
dant3 has joined #ocaml
<Kakadu_> I think that it is maintainer directly
ygrek has joined #ocaml
amirmc has quit [Read error: Connection reset by peer]
amirmc1 has joined #ocaml
lostcuaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dant3 has quit [Remote host closed the connection]
<Drup> kaustuv: except if it's packaging bug, maintaner directly
<Drup> if it's a package bug, I would say maintainer too, anyway.
ygrek has quit [Ping timeout: 265 seconds]
ygrek has joined #ocaml
FreeArtMan has joined #ocaml
nikki93 has joined #ocaml
nikki93 has quit [Ping timeout: 260 seconds]
adrien_o1w is now known as adrien_oww
<nicoo> companion_cube: Of course Paludis has dev-ocaml/opam-1.1.1
<nicoo> kaustuv: Your void type is inhabited : let rec x = Void x;;
<nicoo> kaustuv: Bug against packages can be filed against the repository, yes
arjunguha has joined #ocaml
Kakadu_ has quit [Ping timeout: 245 seconds]
<nicoo> If the bug concerns the actual code, better sned it upstream.
lostcuaz has joined #ocaml
saml has joined #ocaml
<kaustuv> nicoo: I like to pretend that recursive values do not exist in OCaml
<kaustuv> (because they don't in a strict language!)
<nicoo> :)
* nicoo considers telling kaustuv he also uses excluded middle :]
AltGr has left #ocaml []
AltGr has joined #ocaml
kyrylo has joined #ocaml
<kaustuv> excluded middle is fine as long as you don't extract a program from it
shinnya has quit [Ping timeout: 245 seconds]
yacks has quit [Ping timeout: 246 seconds]
<gasche> I disagree
<gasche> hm
mmachenry1 has quit [Ping timeout: 245 seconds]
AltGr has left #ocaml []
AltGr has joined #ocaml
thomasga has joined #ocaml
Thooms has quit [Quit: WeeChat 0.3.8]
mmachenry has joined #ocaml
ontologiae_ has quit [Quit: WeeChat 0.4.0]
ontologiae has joined #ocaml
FreeArtMan has quit [Ping timeout: 260 seconds]
dant3 has joined #ocaml
amirmc1 has quit [Quit: Leaving.]
mreca has joined #ocaml
lostcuaz has quit [Read error: Connection reset by peer]
lostcuaz has joined #ocaml
<companion_cube> I agree
<companion_cube> excluded middle is fine ;)
<gasche> I disagreed with the bit about recursive values
<gasche> but I don't really disagree
<gasche> I think the real problem is mixing inductives and coinductives without distinction, and *in this regard* it is unfair to blame strict languages more than (non-total) lazy ones
Kakadu has joined #ocaml
dant3 has quit [Ping timeout: 252 seconds]
<def-lkb> gasche: I agree. are there study or resources about distiguishing inductives and coinductives in general purpose pl ?
<gasche> (that said, given that "excluded middle" in OCaml probably means "control operator", kaustuv's remark that one should not extract is not that relevant, given we're in fact already manipulating operational objects)
<gasche> def-lkb: there is Turner's old "Total Functional Programming" work, and also some work on category-theory-inspired functional languages
avsm has quit [Quit: Leaving.]
<gasche> but that's only bits and pieces, the bulk of the work on coinductives is being done in dependently typed languages these days, were you really are forced to distinguish divergence and productivity
<gasche> (afaik)
<gasche> hm
<gasche> there should be logic/polarity-inspired approaches too, but I'm not too familiar with that part
FreeArtMan has joined #ocaml
FreeArtMan has quit [Remote host closed the connection]
<troydm> so i have an opam related problem
<troydm> apparently my system needs to use ginstall instead of install executable
<troydm> but opam uses install and thus installation of packages fails
<troydm> e.g. opam isn't using BSD-compatible install (which on my system is ginstall instead of install)
ollehar has joined #ocaml
<gasche> troydm: OPAM is regularly used in a BSD environment, so I'm surprised that would be an issue
<troydm> gasche: i'm running it on OpenIndiana
<troydm> gasche: but enviroment is close to BSD
<gasche> but is "install" completely unusable on your system, or is it only that it doesn't support some options that some OPAM packages use?
<gasche> maybe it's possible to remove the non-portable parameters passed to "install" invocations
sagotch has quit [Ping timeout: 245 seconds]
Yoric has quit [Ping timeout: 250 seconds]
<gasche> hm
mmachenry has quit [Quit: Leaving.]
<gasche> it looks like most opam descriptions don't even call "install" by themselves, they delegate the work to the "make install" of the relevant packages
<gasche> so I'd guess it's a package-specific issue you should contact the package maintainer about
mmachenry has joined #ocaml
<troydm> gasche: it's executed with incorrect arguments
<troydm> gasche: apparently it doesn't supports some features
amirmc has joined #ocaml
lostcuaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jwatzman|work has joined #ocaml
jwatzman|work has quit [Changing host]
jwatzman|work has joined #ocaml
<troydm> gasche: i can't even install ocamlfind
<troydm> gasche: i think my enviroment variables are somehow messed up
amirmc has quit [Ping timeout: 260 seconds]
dant3 has joined #ocaml
dsheets has quit [Quit: Leaving]
Anarchos has joined #ocaml
jonludlam has quit [Remote host closed the connection]
FreeArtMan has joined #ocaml
<companion_cube> @opam maintainers: it looks like opam-admin isn't installed with the latest opam_installer.sh
<companion_cube> (if it is still supposed to exist)
avsm has joined #ocaml
amirmc has joined #ocaml
<Kakadu> companion_cube: +1
amirmc has quit [Ping timeout: 245 seconds]
kaustuv has left #ocaml []
wolfnn has joined #ocaml
AltGr has left #ocaml []
dsheets has joined #ocaml
arjunguha has quit [Quit: Textual IRC Client: www.textualapp.com]
ygrek has quit [Ping timeout: 265 seconds]
comacat has joined #ocaml
mreca has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
clan has joined #ocaml
amirmc has joined #ocaml
johnelse is now known as johnelse_away
NoNNaN has quit [Remote host closed the connection]
skchrko has quit [Quit: Leaving]
thizanne has joined #ocaml
avsm has quit [Quit: Leaving.]
ulfdoz has joined #ocaml
lostcuaz has joined #ocaml
<companion_cube> gasche: one of my colleagues thanks you for "fo0 not found, did you mean foo?" error messages :)
<Anarchos> gasche oh yes those one are really smart !!! even gcc can't do that :)
<companion_cube> I think clang does ;)
<companion_cube> but still
<companion_cube> it's very nice
<companion_cube> especially with NotSOObviousCamelCasEForModules
<adrien> and it works for patoline! :P
<companion_cube> ohmy.
<Anarchos> companion_cube you work in java ? ;)
<companion_cube> no.
<Anarchos> companion_cube i do...
<adrien> it has too many libraries for his taste
<Drup> Anarchos: AbstractRegularTreeConcreteFactory ?
<Drup> :3
<companion_cube> adrien: heh
mcclurmc has quit [Remote host closed the connection]
<thizanne> t
pkrnj has joined #ocaml
Dongyancai has joined #ocaml
<troydm> seems installing new opam version didn't fixed
<troydm> sexplib installing problem
thomasga has quit [Quit: Leaving.]
Dongyanc1i has quit [Ping timeout: 245 seconds]
amirmc has quit [Quit: Leaving.]
<troydm> http://lpaste.net/4537018076410937344 any suggestions what might be the problem?
<troydm> i can't install the core because of it :(
<adrien> ah, openindiana?
<troydm> es
<troydm> yes*
<adrien> and also, I guess it's written in /home/troydm/.opam/system/build/sexplib.110.01.00/sexplib-14358-58c514.err
FreeArtMan has quit [Ping timeout: 245 seconds]
S11001001 has joined #ocaml
kyrylo has quit [Quit: Viva la revolucion!]
S11001001 has quit [Changing host]
S11001001 has joined #ocaml
<troydm> adrien: nothing interesting there too :(
<adrien> hmm
<adrien> and in the "out" one?
maufred_ has quit [Read error: Operation timed out]
<adrien> but actually, run
<adrien> ocamlfind list | grep -i num
<troydm> adrien: same in the out
<troydm> adrien: no error message
<adrien> pastebin it
maufred_ has joined #ocaml
<adrien> hmmm, then I don't know
<troydm> adrien: me neither :)
<adrien> but what about the "out" file?
<troydm> adrien: i was wondering wat 10 error code of ocamlbuild mean
<adrien> rather than "err"
<adrien> probably written in the "out" file :P
<troydm> adrien: nothing there too
<adrien> can I see it? :P
<troydm> i don't have cpp command in system
<troydm> should i have it?
<adrien> :)
<adrien> yes
<adrien> although it's a stupid idea to use it for ocaml
<troydm> seems like it is
<troydm> hmm seems like i have it installed somewhere but it's not in the PATH
<troydm> adrien: thx for help
<adrien> well, you found out yourself :)
<troydm> adrien: i didn't saw it until you've mentioned .out
<troydm> adrien: so it was thx to your help :)
<adrien> :)
FreeArtMan has joined #ocaml
<troydm> now i have one hell of an error
<troydm> :(
<troydm> # lib/bigstring_stubs.c:34:24: fatal error: sys/endian.h: No such file or directory
dsheets has quit [Remote host closed the connection]
<adrien> not a header I have on linux so, don't know
<troydm> indeed
<troydm> it's not an linux one
<troydm> but not on openindiana too
<troydm> hmm, i've found some ver of that head
<troydm> *header
<troydm> not standard one
<troydm> but might work with some tweaks
skchrko has joined #ocaml
jao has joined #ocaml
jao has quit [Changing host]
jao has joined #ocaml
ggole has quit []
mort___ has joined #ocaml
<j0sh> is there a way to get the elements of a tupl as a list, with camlp4?
yellowfish has joined #ocaml
yellowfish has quit [Changing host]
yellowfish has joined #ocaml
avsm has joined #ocaml
_andre has quit [Quit: leaving]
<j0sh> Kakadu: thanks, looking at it... still learning camlp4, it's pretty dense
maurer has joined #ocaml
lostcuaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<j0sh> Kakadu: looks like the size of the "rules" tuple is known in advance?
<Kakadu> no, there rules is ';' separated list
<j0sh> in my case i'd like to be able to deconstruct a tuple without knowing its size
avsm has quit [Ping timeout: 245 seconds]
NoNNaN has joined #ocaml
<j0sh> where "INSERT INTO foo (a, b, c) VALUES ($row)" gets transformed into "INSERT INTO foo (a, b, c) VALUES ($1, $2, $3)"
<Kakadu> it describes binding
<Kakadu> binding is either `x` in `x:asdfasdf`
<Kakadu> or `(x,y)` in `<(x,y)>:asdfasfd`
<Kakadu> now we should find how to deconstruct tuple
<Kakadu> AFAIR it is done through pattern matching
<j0sh> hmm
FreeArtMan has quit [Quit: main.lv]
<j0sh> there is a <:patt< ($tup:x$) >> quotation but i'm not sure how to use them
<Kakadu> is x a list?
<j0sh> x is a tuple
<j0sh> i thought x was supposed to follow the type in the anti-quotation?
<j0sh> eg, $tup:x$ is a list, $list:x$ is a list, etc... or maybe i am just very confused
<j0sh> err $tup:x$ is a tuple, $list:x$ is a list
<Kakadu> what is x in $tup:x$?
<Kakadu> can you make some tests
<Kakadu> ?
<j0sh> any arbitrary tuple, like let x = (1, "asdf", 0.)
<j0sh> i've been trying to
<j0sh> i can get it to preprocess with camlp4of but not sure how to deal with the AST nodes
<Kakadu> | <:patt< ($list:pl$) >> -> maybe pl is list of tuple elements....
<troydm> gawd i think now i hit the bottom tweaking core in order to make it work on OpenIndiana
<j0sh> but cant seem to compile it with ocamlfind ocamlc -pp camlp4of -syntax camlp4 ...
<troydm> there is no recvmmsg syscall in OpenIndiana
<troydm> :(
<troydm> any core building experts here?
<troydm> maybe there is some flag for disabling recvmmsg related functionality during building on non linux platform
<troydm> ahh found some check in config/discover.sh
<troydm> let's see if removing it will make it compile
Yoric has joined #ocaml
ontologiae has quit [Ping timeout: 265 seconds]
dsheets has joined #ocaml
yellowfish has quit [Ping timeout: 245 seconds]
<troydm> i give up
dant3 has quit [Remote host closed the connection]
<troydm> openindiana is quite different
<troydm> one day i might be find time (weekend maybe) to add some decent support for OpenIndiana to core library
<troydm> but today is not the day
<troydm> :(
Arsenik has joined #ocaml
nikki93 has joined #ocaml
ulfdoz has quit [Ping timeout: 260 seconds]
dant3 has joined #ocaml
pkrnj has quit [Quit: Computer has gone to sleep.]
dant3 has quit [Remote host closed the connection]
kyrylo has joined #ocaml
mcclurmc has joined #ocaml
clan has quit [Quit: clan]
nikki93 has quit [Remote host closed the connection]
pkrnj has joined #ocaml
clan has joined #ocaml
ontologiae has joined #ocaml
axiles has quit [Remote host closed the connection]
nikki93 has joined #ocaml
dant3 has joined #ocaml
Kakadu has quit [Quit: Konversation terminated!]
mort___ has quit [Quit: Leaving.]
dant3 has quit [Ping timeout: 260 seconds]
mreca has joined #ocaml
mort___ has joined #ocaml
Anarchos has quit [Quit: Vision[0.9.7-H-20131020]: i've been blurred!]
mort___ has quit [Quit: Leaving.]
sagotch has joined #ocaml
mreca has quit [Quit: Textual IRC Client: www.textualapp.com]
clan has quit [Quit: clan]
Yoric has quit [Ping timeout: 245 seconds]
clan has joined #ocaml
nikki93 has quit [Remote host closed the connection]
clan has quit [Client Quit]
vkz` has quit [Ping timeout: 265 seconds]
arjunguha has joined #ocaml
sagotch has quit [Remote host closed the connection]
jao has quit [Ping timeout: 245 seconds]
saml has quit [Quit: Leaving]
thomasga has joined #ocaml
Thooms has joined #ocaml
pango has quit [Ping timeout: 265 seconds]
pango_ has joined #ocaml
thomasga has quit [Quit: Leaving.]
maurer has quit [Quit: leaving]
maurer has joined #ocaml
thomasga has joined #ocaml
Arsenik has quit [Remote host closed the connection]
clan has joined #ocaml
nikki93 has joined #ocaml
gambogi has quit [Read error: Operation timed out]
clan has quit [Ping timeout: 265 seconds]
pkrnj has quit [Quit: Computer has gone to sleep.]
gambogi has joined #ocaml
nikki93 has quit [Remote host closed the connection]
Thooms has quit [Ping timeout: 260 seconds]
arjunguha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pkrnj has joined #ocaml
clan has joined #ocaml
clan has quit [Client Quit]
clan has joined #ocaml
clan has quit [Client Quit]
<tizoc> hello
<tizoc> functors can take as input only a single other module right? not multiple
arjunguha has joined #ocaml
<Drup> sure you can take multiple modules
<Drup> MyFunctor (Truc:TRUC) (Bidule:BIDULE) = struct ... end
caseyjames has joined #ocaml
<tizoc> Drup: thank you
<Drup> tizoc: you can even partially apply them
nikki93 has joined #ocaml
<caseyjames> Does anyone here use OCaml to do terminal work? I'm looking to recursively go to folders N levels deep, and at the bottom level change folders starting with RR to A. I've done a little of this kind of scripting to python, but I would love to move that aspect over to ocaml.
mmachenry has quit [Ping timeout: 245 seconds]
<Drup> I don't, but maybe you can look at this : http://pauillac.inria.fr/cash/
darkf has joined #ocaml
<Drup> caseyjames: there is also fileutils for folder and file manipulation, iirc
<caseyjames> Drup: cool, thank you
lostcuaz has joined #ocaml
jdoles has quit [Ping timeout: 272 seconds]
jdoles has joined #ocaml
ollehar has quit [Ping timeout: 246 seconds]
Simn has quit [Quit: Leaving]
madroach has quit [Ping timeout: 252 seconds]
madroach has joined #ocaml
clan has joined #ocaml
wolfnn has quit [Ping timeout: 245 seconds]
arjunguha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
manizzle has joined #ocaml
arjunguha has joined #ocaml
thomasga has quit [Quit: Leaving.]
NoNNaN has quit [Ping timeout: 240 seconds]
thomasga has joined #ocaml