gildor changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 3.12.0 http://bit.ly/aNZBUp
lamawithonel has quit [Ping timeout: 264 seconds]
smerz has quit [Quit: Ex-Chat]
ftrvxmtrx has joined #ocaml
agarwal1975 has quit [Quit: agarwal1975]
vk0 has quit [Ping timeout: 260 seconds]
vk0 has joined #ocaml
cyanure has quit [Remote host closed the connection]
kulakowski has joined #ocaml
kulakowski has quit [Ping timeout: 272 seconds]
oriba has quit [Ping timeout: 265 seconds]
Rick_ has joined #ocaml
Rickasaurus has quit [Ping timeout: 240 seconds]
arubin has joined #ocaml
Rick_ has quit [Ping timeout: 240 seconds]
Rick__ has joined #ocaml
oriba has joined #ocaml
agarwal1975 has joined #ocaml
agarwal1975 has left #ocaml []
agarwal1975 has joined #ocaml
agarwal1975 has quit [Client Quit]
agarwal1975 has joined #ocaml
Rick__ is now known as Rickasaurus
Rickasaurus has quit [Read error: Connection reset by peer]
agarwal1975 has quit [Quit: agarwal1975]
agarwal1975 has joined #ocaml
<mbac> can someone write a puppet replacement in ocaml already
elehack has joined #ocaml
lamawithonel has joined #ocaml
* elehack always gets a chuckle from the OCaml configure script... "Wow! A 64 bit architecture!"
<agarwal1975> Maybe submit a patch so instead it says: "Wow! Still on a 32 bit architecture!"
<elehack> I don't remember what it actually says on a 32-bit system.
<elehack> it says "OK, this is a regular 32 bit architecture"
<elehack> that is kinda boring...
<agarwal1975> Isn't 64 bit more "regular" now on?
<elehack> For OCaml programmers, quite likely.
Amorphous has quit [Ping timeout: 272 seconds]
<elehack> However, most users are probably still on 32-bit systems.
<elehack> even if they have a 64-bit proc, they probably run 32-bit OS.
<agarwal1975> Haven't most desktops/laptops sold in the last 4 years been 64 bit, or am I just spoiled?
<elehack> Most of them have been, but have not necessarily shipped with a 64-bit OS.
<elehack> and a lot of the netbooks run 32-bit procs
<elehack> although I think there is a 64-bit Atom.
<elehack> Then there's all the ARM procs in phones and such.
<elehack> those are 32-bit.
<agarwal1975> Psellos is running ocaml apps on the iphone
<agarwal1975> not sure how much other use ocaml gets on mobile devices
<elehack> yeah
<elehack> I think there were some people working on getting it running on the Nokia N810 or N900.
<agarwal1975> isn't ARM supported in the standard dist?
<elehack> I think so.
elehack has quit [Quit: Farewell, programs.]
Amorphous has joined #ocaml
lamawithonel has quit [Ping timeout: 264 seconds]
lamawithonel_ has joined #ocaml
myu2 has quit [Remote host closed the connection]
mnabil has quit [Ping timeout: 255 seconds]
agarwal1975 has quit [Quit: agarwal1975]
agarwal1975 has joined #ocaml
agarwal1975 has quit [Client Quit]
mnabil has joined #ocaml
<thelema_> Yay, batteries 1.3.0 released.
lamawithonel_ has quit [Ping timeout: 255 seconds]
lamawithonel_ has joined #ocaml
tnguyen has joined #ocaml
Associat0r has quit [Quit: Associat0r]
oriba has quit [Quit: Verlassend]
seafood has joined #ocaml
sepp2k1 has joined #ocaml
sepp2k has quit [Ping timeout: 240 seconds]
ulfdoz has joined #ocaml
sepp2k1 has quit [Quit: Leaving.]
myu2 has joined #ocaml
myu2 has quit [Remote host closed the connection]
Yoric has joined #ocaml
ulfdoz_ has joined #ocaml
ulfdoz has quit [Ping timeout: 260 seconds]
ulfdoz_ is now known as ulfdoz
myu2 has joined #ocaml
ftrvxmtrx has quit [Ping timeout: 240 seconds]
tnguyen has quit [Remote host closed the connection]
ulfdoz has quit [Ping timeout: 260 seconds]
ftrvxmtrx has joined #ocaml
seafood has quit [Quit: seafood]
Snark has joined #ocaml
arubin has quit [Quit: arubin]
lamawithonel_ has quit [Ping timeout: 255 seconds]
BiDOrD has quit [Read error: Connection reset by peer]
alexyk has quit [Quit: alexyk]
alexyk has joined #ocaml
alexyk has quit [Client Quit]
alexyk has joined #ocaml
alexyk has quit [Read error: Connection reset by peer]
edwin has joined #ocaml
ikaros has joined #ocaml
jdavis has quit [Ping timeout: 240 seconds]
jdavis has joined #ocaml
<adrien> \o/
ounit has joined #ocaml
<ounit> to call a module inside a file i call Filename.Insidemodule.function?
chicco has quit [Ping timeout: 240 seconds]
chicco has joined #ocaml
<mrvn> ounit: yes. filename is implicitly a module.
ttamttam has joined #ocaml
<ounit> mrvn: but i get a problem with global reference Filename
<mrvn> do you link them in the right order?
<ounit> mrvn: what do you mean?
_andre has joined #ocaml
<ounit> i compile the ounit stuff with ocamlfind ocamlc -package oUnit -I dir testfile.ml -o testfile
<edwin> there's an ocaml module called Filename
<edwin> you probably clash with that
ikaros has quit [Quit: Leave the magic to Houdini]
myu2 has quit [Remote host closed the connection]
myu2 has joined #ocaml
myu2 has quit [Remote host closed the connection]
<ounit> edwin: whats the reason why it clash?
<mrvn> is Filename part of oUnit?
<mrvn> otherwise you are simply missing the Filename module.
<ounit> Filename is the module i want to test which is in the folder dir and the testfile is in the root folder
<edwin> then you need to link with filename.cmo
<edwin> from your folder dir
benthos has joined #ocaml
<ounit> with -I?
<edwin> otherwise it tries linking with the ocaml provided filename module
<edwin> -I is not enough, you need to specify the module's name
<edwin> sorry, the compiled module's name
<ounit> -I dir/filename.cmo?
<edwin> -I dir filename.cmo
avsm has quit [Quit: Leaving.]
<ounit> thanks
<ounit> a lot
Yoric has quit [Quit: Yoric]
ounit has quit [Quit: http://irc2go.com/]
<edwin> does it work now?
orbitz has quit [Ping timeout: 246 seconds]
orbitz has joined #ocaml
ikaros has joined #ocaml
avsm has joined #ocaml
ikaros has quit [Quit: Leave the magic to Houdini]
ounit has joined #ocaml
joko has quit [Quit: Changing server]
ounit has quit [Remote host closed the connection]
ounit has joined #ocaml
drunK has joined #ocaml
ounit has quit [Remote host closed the connection]
ttamttam has quit [Remote host closed the connection]
lopex has joined #ocaml
Yoric has joined #ocaml
ygrek has joined #ocaml
ikaros has joined #ocaml
seafood has joined #ocaml
boscop has joined #ocaml
seafood has quit [Quit: seafood]
smerz has joined #ocaml
drunK has quit [Remote host closed the connection]
ankit9 has joined #ocaml
mnabil has quit [Ping timeout: 272 seconds]
sepp2k has joined #ocaml
mnabil has joined #ocaml
munga has joined #ocaml
munga has quit [Quit: Ex-Chat]
kaustuv has joined #ocaml
drunK has joined #ocaml
yroeht_ has joined #ocaml
yroeht has quit [Ping timeout: 264 seconds]
gmarik has joined #ocaml
ygrek has quit [Ping timeout: 240 seconds]
<hcarty> thelema_: Happy 1.3.0 release :-)
lamawithonel has joined #ocaml
<thelema_> hcarty: thanks
elehack has joined #ocaml
yroeht_ has quit [Quit: leaving]
<kaustuv> thelema_: Sorry I didn't get to this in time for the release, but I have some proposed modifications for the metadata (README, build system, LICENSE)
<thelema_> kaustuv: no problem
<thelema_> what's the change to LICENSE?
<kaustuv> The license text for lgpl was not canonical. I replaced it with the one from GNU's web page
myu2 has joined #ocaml
agarwal1975 has joined #ocaml
<thelema_> really? was that because of the static linking exception?
<kaustuv> Nope, the formatting and spacing was incorrect, as if it was manually reformatted to remove line wrapping
yroeht has joined #ocaml
<kaustuv> The commit message has the URL for the canonical text in case you want to verify
<kaustuv> darn, I missed another instance of "Library GPL" that needs to be changed to "Lesser GPL"
<thelema_> okay...
cyanure has joined #ocaml
<kaustuv> also I removed build/_tags because it was only producing a warning about an incorrect tag -- something about "package" not requiring an argument.
<agarwal1975> yeah, I was getting that error too.
<agarwal1975> wasn't there a release-1.3 branch yesterday, or am i dreaming?
<thelema_> odd, I remember having to add that to fix the compilation of make_suite... well, if it works without...
<thelema_> yes, I deleted the branch - all that's left is the v1.3.0 tag and the release branch
<elehack> thelema_: so has 1.3.0 been released, then?
<thelema_> yes. I still need to rebuild the online docs
<thelema_> hmm, maybe I didn't push the v1.3.0 tag to github
<agarwal1975> which branch should i keep in sync with for my Tuple module additions?
<thelema_> branch from master
<thelema_> release branches aren't for features, only for stabilization
<thelema_> kaustuv: fixes pushed
mnabil has quit [Ping timeout: 276 seconds]
<kaustuv> thelema_: merci
<kaustuv> Have you or anyone else tried to integrate it with oasis?
<thelema_> kaustuv: I looked into oasis briefly a long time ago, I'm sure it's gotten a lot better since I looked last.
<agarwal1975> i haven't yet, but am discussing with Sylvain other things that will require me to.
<thelema_> I wasn't able to make oasis work for me, so I gave up. You're welcome to
lopex has quit []
<agarwal1975> second time you run 'make install', I get error: Package estring is already installed. I have to do 'make uninstall' and then 'make install' again.
<thelema_> hmm, I wonder why my announcement of batteries 1.3's release didn't percolate up to the global forge announcements
<thelema_> agarwal1975: make reinstall
<thelema_> agarwal1975: I guess we could check for already installed packages when doing make install
<thelema_> agarwal1975: patches welcome
<thelema_> (sorry, busy today)
<agarwal1975> ok, which does make uninstall and then install. guess it's not serious, but maybe make this the default for make install.
<agarwal1975> sure. i'll consider it.
oriba has joined #ocaml
<kaustuv> Might be worth announcing it to caml-list also, assuming caml-list still exists
<agarwal1975> what do you mean? why wouldn't it exist?
<thelema_> hmm: https://forge.ocamlcore.org/forum/forum.php?forum_id=767 -- does this error for others?
<kaustuv> Well, I unsubbed a while back when there was that pointless flamewar about the shootout, and then when I went to resub again last month I found that the archives for 2011 are missing
<mfp> thelema_, kaustuv: re: LICENSE, it seems batteries inherited the linking exception bug from OCaml...
<gildor> thelema_: when did you send the announcement of 1.3 ?
<mfp> it refers to clause 3 of the LGPL, which says the lib can be used as GPL, instead of 2, which explains how modified versions of the lib can be distributed while keeping the same license
<agarwal1975> i get same error
<kaustuv> mfp: ah, interesting
<thelema_> gildor: last night
<thelema_> gildor: maybe 11.5 hours ago
mnabil has joined #ocaml
<gildor> thelema_: didn't get the mail about it, you must have missed the cronjob
<gildor> thelema_: all frontpage announces are approved by me
<thelema_> gildor: okay. what about the forum access denied?
<gildor> thelema_, agarwal1975: the permission error has been fixed (and is an unfortunately known issue)
<gildor> thelema_: try again, I just fix it
<thelema_> gildor: thanks
<thelema_> it's working now
<gildor> bugs submited to fusionforge, will have a solution one day
<thelema_> no problem.
<gildor> thelema: 16:46 I wasn't able to make oasis work for me -> do you remember what was not working ?
<gildor> kaustuv: I think the move to the new ML system doesn't have improved the Caml list
<gildor> ML = mailing list in this case
<kaustuv> oh, where is the new ML system?
<thelema_> gildor: it was a long time ago, I don't recall.
<thelema_> gildor: thanks for asking, though
<kaustuv> Nice.
<kaustuv> At least it's not got NaNs out the wazoo
<gildor> but we get more spam
<mfp> ugh, uses proportional font
<mfp> fixed-size is a must in a ML with code
<kaustuv> mfp: there is apparently a google groups mirror
ccasin has joined #ocaml
arubin has joined #ocaml
ikaros has quit [Quit: Leave the magic to Houdini]
zirhc has joined #ocaml
joko has joined #ocaml
<joko> Hello, I have created a set for integers called IntSet (module IntSet = Set.Make ...). Is it possible to use it as a field on a record? If so, how to do so?
kaustuv has left #ocaml []
<thelema_> joko: type r = {ints: IntSet.t}
Modius has quit [Ping timeout: 240 seconds]
Modius has joined #ocaml
ikaros has joined #ocaml
avsm has quit [Quit: Leaving.]
alexyk has joined #ocaml
alexyk has quit [Read error: Connection reset by peer]
Associat0r has joined #ocaml
alexyk has joined #ocaml
alexyk has quit [Read error: Connection reset by peer]
alexyk has joined #ocaml
joewilliams is now known as joewilliams_away
joewilliams_away is now known as joewilliams
joewilliams is now known as joewilliams_away
joewilliams_away is now known as joewilliams
alexyk has quit [Read error: Connection reset by peer]
joewilliams is now known as joewilliams_away
joewilliams_away is now known as joewilliams
mnabil has quit [Ping timeout: 255 seconds]
alexyk has joined #ocaml
Yoric has quit [Quit: Yoric]
kaustuv has joined #ocaml
alexyk has quit [Read error: Connection reset by peer]
mnabil has joined #ocaml
jlenormand has quit [Quit: Leaving]
joewilliams is now known as joewilliams_away
alexyk has joined #ocaml
alexyk has quit [Read error: Connection reset by peer]
joewilliams_away is now known as joewilliams
alexyk has joined #ocaml
alexyk has quit [Read error: Connection reset by peer]
alexyk has joined #ocaml
_andre has quit [Quit: leaving]
mnabil has quit [Ping timeout: 276 seconds]
mnabil has joined #ocaml
alexyk has quit [Read error: Connection reset by peer]
Snark has quit [Quit: Ex-Chat]
<elehack> thelema_, kaustuv: finally hunted down this bug, I think... the 'cleanup' parameter for creating inputs from descriptors defaults to false, not true.
<elehack> I thought I had read somewhere that true was the default.
<elehack> seems we should set that default for the compatibility in_channel_of_descr to mirror stdlib unix behavior.
<thelema_> odd. fixing this seems to solve your problem?
<elehack> I'm going to test very soon.
<thelema_> agreed, stdlib compatibility is good
<elehack> there also doesn't seem to be a good reason for cleanup to default to false.
<elehack> but changing it would be backwards-incompatible since the default is (confusingly) documented.
<elehack> or not really confusingly, but not attention-grabbingly.
<elehack> the root offending function is BatInnerIO.input_channel
<thelema_> grr, if only we had worse documentation... :)
<elehack> lol
alexyk has joined #ocaml
<elehack> I'll file a bug on it and tag it 2.0 so that we know to change it for 2.0.
avsm has joined #ocaml
<elehack> seems to me that if cleanup needs to be false, you're probably doing something wrong or at least very strange, so the default should be the safe method.
avsm has quit [Client Quit]
<elehack> I'll also push a patch to make the deprecated stdlib compat functions do the right thing.
Yoric has joined #ocaml
<elehack> pushed to master
<elehack> and it does seem to fix my bug - I've run past the stop-point with a low FD limit just fine now :)
alexyk has quit [Read error: Connection reset by peer]
alexyk has joined #ocaml
alexyk has quit [Read error: Connection reset by peer]
mnabil has quit [Remote host closed the connection]
ryderblue_ has joined #ocaml
alexyk has joined #ocaml
Fullma has quit [Quit: Fullma]
alexyk has quit [Read error: Connection reset by peer]
ryderblue_ has quit [Ping timeout: 245 seconds]
alexyk has joined #ocaml
alexyk has quit [Read error: Connection reset by peer]
alexyk has joined #ocaml
alexyk has quit [Read error: Connection reset by peer]
ymasory has joined #ocaml
alexyk has joined #ocaml
alexyk has quit [Client Quit]
edwin has quit [Remote host closed the connection]
vk0 has quit [Ping timeout: 240 seconds]
vk0 has joined #ocaml
ymasory has quit [Read error: Connection reset by peer]
* adrien is going to try to get a uniforme META for lablgtk2 upstream
<adrien> maybe there will finally be one, after ten years or so :P
<adrien> and I'd need the corresponding meta files for fedora and debian if possible: I have them for godi and for the base lablgtk, but not for others and they're quite annoying to get when you're not using the distribution, if some people could pastebin theirs, that'd help me a lot =)
drunK has quit [Remote host closed the connection]
<elehack> adrien: https://gist.github.com/811901 (Ubuntu)
<adrien> elehack: great, thanks a lot
ulfdoz has joined #ocaml
ftrvxmtrx has quit [Quit: Leaving]
mnabil has joined #ocaml
elehack has quit [Quit: Headed out, possibly to home]
gmarik has quit [Quit: Leaving.]
Yoric has quit [Quit: Yoric]
arubin has quit []
ulfdoz has quit [Ping timeout: 276 seconds]
mnabil has quit [Ping timeout: 255 seconds]
<_habnabit> Is there something like `'a list -> 'b list -> ('a * 'b) list` in core?
<bitbckt> _habnabit: List.combine
<_habnabit> Oh, perfect.
mnabil has joined #ocaml
smerz has quit [Quit: Ex-Chat]
<thelema_> _habnabit: mind if I ask why you're using core over batteries?
<_habnabit> thelema_, I don't know what batteries is
<thelema_> like core, it's another extended stdlib
ccasin has quit [Quit: Leaving]
<_habnabit> thelema_, by 'core' I meant 'stdlib'
ikaros has quit [Quit: Leave the magic to Houdini]
<thelema_> _habnabit: ah, I thoght you meant jane street core: http://ocaml.janestreet.com/?q=node/13
cadabra has joined #ocaml
cadabra has quit [Remote host closed the connection]
<adrien> heh, well, thought the same ;-)
<kaustuv> Is http://www.ocaml.info down for anyone else?
<agarwal1975> yes, has been down at least since yesterday.
agarwal1975 has quit [Quit: agarwal1975]
<adrien> not loading here, anything you're after in particular?
<kaustuv> Yes, I want to clone the pcre-ocaml hg repository