mfp changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 3.11.2 released | Inscription for OCaml Meeting 2010 is opened http://wiki.cocan.org/events/europe/ocamlmeetingparis2010
ccasin has joined #ocaml
slash_ has quit [Quit: leaving]
slash_ has joined #ocaml
slash_ has quit [Quit: Lost terminal]
slash_ has joined #ocaml
mjonsson has joined #ocaml
mutew has joined #ocaml
seafood has joined #ocaml
boscop has quit [Read error: Connection reset by peer]
tmaeda is now known as tmaedaZ
seafood has quit [Ping timeout: 264 seconds]
Smerdyakov has quit [Quit: Leaving]
seafood has joined #ocaml
seafood has quit [Ping timeout: 258 seconds]
Drk-Sd has quit [Quit: {'EXIT', Drk-Sd, "bye"}]
slash_ has quit [Quit: Lost terminal]
bzzbzz has quit [Quit: leaving]
elehack has joined #ocaml
maskd has quit [Quit: leaving]
<elehack> thelema, I've created a 'doc-fixes' branch on my Batteries fork for documentation fixes I find to make.
<elehack> it should be safe to pull from any time.
<thelema> elehack: would you object to having commit access to the main batteries branch?
<elehack> that'd be fine with me.
<thelema> done. It should be straightforward to commit to github batteries now.
<elehack> ok. I'll just push my doc fixes directly then and save the extra overhead (and commit ID rewriting...) that occurs with the fork.
<thelema> commit ID rewriting? It should be transparent.
<thelema> but there is a bit of overhead on my end. Not that I mind reading batteries commits.
<elehack> when you pull commits with github's fork queue, it seems to create a new commit with a new ID sometimes.
<elehack> I suspect due to changing the Commiter field.
<elehack> I saw this with the FAQ update commit.
<thelema> ah. I'll use that less, and merge/rebase more.
<elehack> sounds good. i'm off for the night now, appreciate your good work on moving Batteries forward.
<thelema> I appreciate your patches. You're helping move batteries forward too.
elehack has quit [Quit: EGOODNIGHT]
seafood has joined #ocaml
seafood has quit [Ping timeout: 252 seconds]
ccasin has quit [Quit: Leaving]
thrasibule has joined #ocaml
Mr_Awesome has quit [Read error: Connection reset by peer]
tmaedaZ is now known as tmaeda
mutew has quit [Quit: leaving]
Mr_Awesome has joined #ocaml
f[x] has quit [Ping timeout: 245 seconds]
Amorphous has quit [Read error: Operation timed out]
jonrafkind has joined #ocaml
Amorphous has joined #ocaml
Gooffy has joined #ocaml
thrasibule has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
thrasibule has joined #ocaml
ulfdoz has joined #ocaml
<jonrafkind> has anyone tried to build an ocaml library with scons?
mjonsson has quit [Ping timeout: 260 seconds]
Submarine has joined #ocaml
mjonsson has joined #ocaml
jonrafkind has quit [Ping timeout: 276 seconds]
ulfdoz has quit [Read error: Operation timed out]
yakischloba has quit [Quit: Leaving.]
<Gertm> I'm learning ocamlnet but I can't figure out how to create new in_obj_channel or out_obj_channel.
_zack has joined #ocaml
<flux> gertm, did you take a look at class Netchannels.input_channel?
<Gertm> aha, lemme check that out
<Gertm> doh, how could I have missed that?
<flux> well, atleast it doesn't match '-> in_obj_channel' which I grepped for first ;)
<Gertm> so why isn't there a simple ip:port -> in_obj_channel,out_obj_channel function?
<Gertm> it's stuff like that that makes it hard for newbies to grasp this stuff
<Gertm> maybe I should write a little howto once I get it running
<flux> good idea :)
<Gertm> make sure you read it, so I can get the errors out :p
<flux> I guess it's not simple to write network programs in ocaml if you don't know BSD sockets API
<flux> I haven't used ocamlnet for that, so I don't know if it eases the task
<flux> atleast it doesn't appear to mention sockaddr in a helpful context
tmaeda is now known as tmaedaZ
<Gertm> ok, what do I need again to access the netstring library? what do I need to #require ?
<Gertm> This stuff still is a little hazy
<Gertm> Error: Unbound value Netstring.Netchannels.input_channel
<Gertm> I did #require "netsys" and #require "netclient"
<Gertm> heh I #require'd everything I could find in ocamlnet and I still can't use it
dark has quit [Remote host closed the connection]
Submarine has quit [Ping timeout: 240 seconds]
seafood has joined #ocaml
<flux> it's just Netchannels
<flux> not Netstring.Netchannels
<flux> the package name doesn't necessary reflect to the module names
<flux> want to see the list of top-level modules provided by a module? usually this works: ls -l $(ocamlfind query foo)/*.cmi
<flux> btw, often they are accompanied with the corresponding mli-file for reference
jonafan_ has quit [Read error: Connection reset by peer]
_zack has quit [Quit: Leaving.]
Modius has quit [Quit: I'm big in Japan]
<Gertm> ah thanks
<Gertm> Error: Unbound value input_channel
<Gertm> after opening Netchannels
<Gertm> ah, it's a class, not a function
jknick has joined #ocaml
ikaros has joined #ocaml
_zack has joined #ocaml
Yoric has joined #ocaml
jcaose has joined #ocaml
seafood has quit [Quit: seafood]
pimmhogeling has joined #ocaml
pimmhogeling has quit [Remote host closed the connection]
jcaose has quit [Read error: Connection reset by peer]
munga_ has joined #ocaml
th5 has joined #ocaml
pimmhogeling has joined #ocaml
slash_ has joined #ocaml
_andre has joined #ocaml
tmaedaZ is now known as tmaeda
joewilliams is now known as joewilliams_away
maskd has joined #ocaml
ikaros has quit [Quit: Leave the magic to Houdini]
tmaeda is now known as tmaedaZ
munga_ has quit [Ping timeout: 246 seconds]
seafood has joined #ocaml
rwmjones has left #ocaml []
Drk-Sd has joined #ocaml
Submarine has joined #ocaml
tmaedaZ is now known as tmaeda
Submarine_ has joined #ocaml
tmaeda is now known as tmaedaZ
Submarine_ has quit [Quit: Leaving]
seafood has quit [Quit: seafood]
seafood has joined #ocaml
pimmhogeling has quit [Ping timeout: 248 seconds]
boscop has joined #ocaml
sysop_fb has joined #ocaml
bzzbzz has joined #ocaml
mutew has joined #ocaml
avsm has joined #ocaml
rwmjones has joined #ocaml
thrasibule has quit [Ping timeout: 252 seconds]
seafood has quit [Quit: seafood]
tmaedaZ is now known as tmaeda
tab has quit [Ping timeout: 260 seconds]
Gooffy has quit [Quit: Leaving.]
det has quit [Ping timeout: 276 seconds]
Snark has joined #ocaml
svenl has quit [Ping timeout: 256 seconds]
det has joined #ocaml
pimmhogeling has joined #ocaml
th5 has quit [Quit: th5]
joewilliams_away is now known as joewilliams
kaustuv has joined #ocaml
arturh has joined #ocaml
ikaros has joined #ocaml
ned has joined #ocaml
yakischloba has joined #ocaml
munga has quit [Ping timeout: 260 seconds]
<hcarty> Bitten again by the imperative enum! "let foo = 1 -- 10 in bar foo; baz foo"
_zack has quit [Quit: Leaving.]
noj has quit [Quit: leaving]
_zack has joined #ocaml
<flux> ;/
tmaeda is now known as tmaedaZ
<hcarty> flux: Seq.* can fill in for now, with "let ( -- ) a b = Seq.init (b - a + 1) (fun i -> a + i)"
Narrenschiff has joined #ocaml
<flux> is seq a new module? (I knew about it, but learned of it recently anyway)
ztfw has joined #ocaml
kaustuv has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
<hcarty> It was in Batteries-old, added some time during the development process there
avsm has quit [Quit: Leaving.]
noj has joined #ocaml
jonrafkind has joined #ocaml
jonafan has joined #ocaml
_zack has quit [Quit: Leaving.]
munga_ has joined #ocaml
<thelema> flux: it's pretty new - although I'm not sure exactly the reason we have both seq and LazyList
<flux> well, seq does have its advantages
<flux> but they are both sorf of lazy lists. actually it'd be nice if some kind of subtyping was involved :)
<thelema> seq is basically lazy lists but only as unit->list
sysop_fb has quit []
Yoric has quit [Quit: Yoric]
ztfw` has joined #ocaml
<thelema> I'm still thinking about how to have the best matching syntax for batteries' lazy lists.
ztfw has quit [Ping timeout: 276 seconds]
<flux> ahh, finally manual pages
<flux> batteries really should build/install them as well :)
<flux> what is the best way to contribute to batteries?
<thelema> fork the guthub project and commit to your fork.
<thelema> *github
<flux> guthub.. attractive name ;)
<jonrafkind> if I have a sub-directory with foo.ml in it can I somehow refer to foo.ml with its sub-directory as part of the path? something like 'open Sub.Foo' ?
munga_ has quit [Quit: Ex-Chat]
<thelema> nope, you have to -I sub/
<jonrafkind> well.. I gotta ask, how do people write large software systems in ocaml? a flat namespace for modules seems like a major annoyance
<Camarade_Tux> it's not flat ;-)
<jonrafkind> if I have a/x.ml and b/x.ml how do I distinguish which X module I want to open?
<thelema> You can't include both in a single project.
<jonrafkind> so how is the namespace not flat?
<thelema> within a single file, you can have submodules.
<flux> jonrafkind, you don't. however, you can make .cmo-files that build a hierarchy, do you can export your project in full as JonrafKind.{A,B}
<thelema> and you can do the packing thing that flux described
ulfdoz has joined #ocaml
rhar has joined #ocaml
Yoric has joined #ocaml
lokydor has joined #ocaml
lokydor has quit [Remote host closed the connection]
lokydor has joined #ocaml
_andre has quit [Quit: *puff*]
_zack has joined #ocaml
Snark has quit [Quit: Ex-Chat]
M| has quit [Ping timeout: 264 seconds]
travisbrady has joined #ocaml
_zack has quit [Ping timeout: 240 seconds]
<bjorkintosh> do the batteries come automatically with an apt-get ocaml?
<flux> no
<flux> I don't know if any debian-based distribution has it yet, infact
<flux> if anything, maybe debian unstable..
rhar has quit [Quit: This computer has gone to sleep]
joewilliams is now known as joewilliams_away
alp has joined #ocaml
Alpounet has quit [Read error: No route to host]
Narrenschiff has quit [Ping timeout: 246 seconds]
<orbitz> are batteries and core competing libraries?
<flux> I guess so?
<Camarade_Tux> in testing and unsable
<Camarade_Tux> unstableù
<Camarade_Tux> bleh
<Camarade_Tux> s/ù/*/
seafood has joined #ocaml
seafood has quit [Client Quit]
<flux> [ocaml-batteries_0.20090405+beta1.orig.tar.gz]
<flux> old stuff ;)
M| has joined #ocaml
<Camarade_Tux> he, hadn't check the time but you're absolutely right :o
execve has joined #ocaml
joewilliams_away is now known as joewilliams
Yoric has quit [Quit: Yoric]
_zack has joined #ocaml
lokydor has quit [Ping timeout: 245 seconds]
Submarine has quit [Ping timeout: 265 seconds]
alp has quit [Quit: ``Do what you think you can't do.'']
alp has joined #ocaml
Yoric has joined #ocaml
Yoric has quit [Client Quit]
Yoric has joined #ocaml
rhar has joined #ocaml
Modius has joined #ocaml
pad has joined #ocaml
Yoric has quit [Quit: Yoric]
pimmhogeling has quit [Ping timeout: 272 seconds]
pad has left #ocaml []
_zack has quit [Quit: Leaving.]
shr3kst3r has quit [Ping timeout: 256 seconds]
shr3kst3r has joined #ocaml
jonrafkind has quit [Read error: Connection reset by peer]
jonrafkind has joined #ocaml
jonrafkind has quit [Read error: Connection reset by peer]
jonrafkind has joined #ocaml
rhar has left #ocaml []
execve has quit [Ping timeout: 252 seconds]
ikaros_ has joined #ocaml
ikaros has quit [Ping timeout: 272 seconds]
M| has quit [Ping timeout: 252 seconds]
mutew has quit [Ping timeout: 246 seconds]
dark has joined #ocaml
M| has joined #ocaml
M| has quit [Ping timeout: 260 seconds]
jonrafkind has quit [Ping timeout: 265 seconds]
jonrafkind has joined #ocaml
jonrafkind has quit [Read error: Connection reset by peer]
mutew has joined #ocaml
ulfdoz has quit [Read error: Operation timed out]
M| has joined #ocaml
execve has joined #ocaml
seafood has joined #ocaml
avsm has joined #ocaml
seafood has quit [Quit: seafood]
jonrafkind has joined #ocaml
jonrafkind has quit [Read error: Connection reset by peer]
jonrafkind has joined #ocaml
Drk-Sd has quit [Quit: lol]
Narrenschiff has joined #ocaml
avsm has quit [Quit: Leaving.]